-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #274 from maykinmedia/feature/rename-app
[#241] Rename app
- Loading branch information
Showing
426 changed files
with
508 additions
and
561 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
The Archiefvernietigingscomponent was originally developed in the municipality | ||
The ArchiefBeheerComponent was originally developed in the municipality | ||
of Utrecht and called the Record Management App. Later, it was turned into a | ||
Common Ground project backed by several municipalities. | ||
|
||
Here is an inevitably incomplete list of MUCH-APPRECIATED CONTRIBUTORS -- | ||
people who laid the groundwork, have submitted patches, reported bugs, added | ||
translations, helped answer questions, and generally made the components that | ||
translations, helped answer questions, and generally made the components that | ||
much better: | ||
|
||
Anna Shamray <[email protected]> | ||
|
@@ -17,4 +17,4 @@ A big THANK YOU goes to: | |
The municipality of Utrecht and Delft for their active support in creating | ||
this application. | ||
|
||
All people behind Common Ground for their enthusiasm and vision. | ||
All people behind Common Ground for their enthusiasm and vision. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,8 +44,8 @@ development machine. | |
|
||
.. code-block:: bash | ||
$ git clone [email protected]:maykinmedia/archiefvernietigingscomponent.git | ||
$ cd archiefvernietigingscomponent | ||
$ git clone [email protected]:maykinmedia/archiefbeheercomponent.git | ||
$ cd archiefbeheercomponent | ||
3. Install all required libraries. | ||
**Tip:** You can use the ``bootstrap.py`` script to install the requiments | ||
|
@@ -94,7 +94,7 @@ development machine. | |
|
||
|
||
**Note:** If you are making local, machine specific, changes, add them to | ||
``src/archiefvernietigingscomponent/conf/local.py``. You can base this file on the | ||
``src/archiefbeheercomponent/conf/local.py``. You can base this file on the | ||
example file included in the same directory. | ||
|
||
**Note:** You can run watch-tasks to compile `Sass`_ to CSS and `ECMA`_ to JS | ||
|
@@ -114,7 +114,7 @@ When updating an existing installation: | |
|
||
.. code-block:: bash | ||
$ cd archiefvernietigingscomponent | ||
$ cd archiefbeheercomponent | ||
$ source env/bin/activate | ||
2. Update the code and libraries: | ||
|
@@ -141,7 +141,7 @@ To run the test suite: | |
|
||
.. code-block:: bash | ||
$ python src/manage.py test archiefvernietigingscomponent | ||
$ python src/manage.py test archiefbeheercomponent | ||
Configuration via environment variables | ||
--------------------------------------- | ||
|
@@ -152,9 +152,9 @@ file or as part of the ``(post)activate`` of your virtualenv. | |
|
||
* ``SECRET_KEY``: the secret key to use. A default is set in ``dev.py`` | ||
|
||
* ``DB_NAME``: name of the database for the project. Defaults to ``archiefvernietigingscomponent``. | ||
* ``DB_USER``: username to connect to the database with. Defaults to ``archiefvernietigingscomponent``. | ||
* ``DB_PASSWORD``: password to use to connect to the database. Defaults to ``archiefvernietigingscomponent``. | ||
* ``DB_NAME``: name of the database for the project. Defaults to ``archiefbeheercomponent``. | ||
* ``DB_USER``: username to connect to the database with. Defaults to ``archiefbeheercomponent``. | ||
* ``DB_PASSWORD``: password to use to connect to the database. Defaults to ``archiefbeheercomponent``. | ||
* ``DB_HOST``: database host. Defaults to ``localhost`` | ||
* ``DB_PORT``: database port. Defaults to ``5432``. | ||
|
||
|
@@ -168,43 +168,43 @@ Docker | |
The easiest way to get the project started is by using `Docker Compose`_. | ||
|
||
1. Clone or download the code from `Github`_ in a folder like | ||
``archiefvernietigingscomponent``: | ||
``archiefbeheercomponent``: | ||
|
||
.. code-block:: bash | ||
$ git clone [email protected]:maykinmedia/archiefvernietigingscomponent.git | ||
Cloning into 'archiefvernietigingscomponent'... | ||
$ git clone [email protected]:maykinmedia/archiefbeheercomponent.git | ||
Cloning into 'archiefbeheercomponent'... | ||
... | ||
$ cd archiefvernietigingscomponent | ||
$ cd archiefbeheercomponent | ||
2. Start the database and web services: | ||
|
||
.. code-block:: bash | ||
$ docker-compose up -d | ||
Starting archiefvernietigingscomponent_db_1 ... done | ||
Starting archiefvernietigingscomponent_web_1 ... done | ||
Starting archiefbeheercomponent_db_1 ... done | ||
Starting archiefbeheercomponent_web_1 ... done | ||
It can take a while before everything is done. Even after starting the web | ||
container, the database might still be migrating. You can always check the | ||
status with: | ||
|
||
.. code-block:: bash | ||
$ docker logs -f archiefvernietigingscomponent_web_1 | ||
$ docker logs -f archiefbeheercomponent_web_1 | ||
3. Create an admin user and load initial data. If different container names | ||
are shown above, use the container name ending with ``_web_1``: | ||
|
||
.. code-block:: bash | ||
$ docker exec -it archiefvernietigingscomponent_web_1 /app/src/manage.py createsuperuser | ||
$ docker exec -it archiefbeheercomponent_web_1 /app/src/manage.py createsuperuser | ||
Username: admin | ||
... | ||
Superuser created successfully. | ||
$ docker exec -it archiefvernietigingscomponent_web_1 /app/src/manage.py loaddata admin_index groups | ||
$ docker exec -it archiefbeheercomponent_web_1 /app/src/manage.py loaddata admin_index groups | ||
Installed 5 object(s) from 2 fixture(s) | ||
4. Point your browser to ``http://localhost:8000/`` to access the project's | ||
|
@@ -226,29 +226,29 @@ The easiest way to get the project started is by using `Docker Compose`_. | |
system you can run ``docker system prune``. | ||
|
||
.. _Docker Compose: https://docs.docker.com/compose/install/ | ||
.. _Github: https://github.com/maykinmedia/archiefvernietigingscomponent/ | ||
.. _Github: https://github.com/maykinmedia/archiefbeheercomponent/ | ||
|
||
|
||
More Docker | ||
----------- | ||
|
||
If you just want to run the project as a Docker container and connect to an | ||
external database, you can build and run the ``Dockerfile`` and pass several | ||
environment variables. See ``src/archiefvernietigingscomponent/conf/docker.py`` for | ||
environment variables. See ``src/archiefbeheercomponent/conf/docker.py`` for | ||
all settings. | ||
|
||
.. code-block:: bash | ||
$ docker build -t archiefvernietigingscomponent | ||
$ docker build -t archiefbeheercomponent | ||
$ docker run \ | ||
-p 8000:8000 \ | ||
-e DATABASE_USERNAME=... \ | ||
-e DATABASE_PASSWORD=... \ | ||
-e DATABASE_HOST=... \ | ||
--name archiefvernietigingscomponent \ | ||
archiefvernietigingscomponent | ||
--name archiefbeheercomponent \ | ||
archiefbeheercomponent | ||
$ docker exec -it archiefvernietigingscomponent /app/src/manage.py createsuperuser | ||
$ docker exec -it archiefbeheercomponent /app/src/manage.py createsuperuser | ||
Building and publishing the image | ||
--------------------------------- | ||
|
@@ -308,7 +308,7 @@ Settings | |
======== | ||
|
||
All settings for the project can be found in | ||
``src/archiefvernietigingscomponent/conf``. | ||
``src/archiefbeheercomponent/conf``. | ||
The file ``local.py`` overwrites settings from the base configuration. | ||
|
||
|
||
|
Oops, something went wrong.