15 Commits

Author SHA1 Message Date
Daniel Quinn
e7daf7dae4 Support css & js overrides 2018-07-08 16:06:57 +01:00
Daniel Quinn
0abf637c67 Exclude unencrypted documents & thumbnails 2018-05-28 12:58:28 +01:00
Daniel Quinn
015c49030b Ignore .pytest_cache 2018-04-10 19:37:55 +01:00
Daniel Quinn
4d2b71454d Ignore .virtualenv 2017-09-09 12:22:03 +03:00
Daniel Quinn
12e2a96f13 Added a new working script for nuking my environment 2016-04-03 16:33:10 +01:00
Daniel Quinn
f764f5cb7b Preliminarily finished the presentation 2016-03-11 00:20:55 +00:00
Daniel Quinn
52f15b4de1 The first stages of getting thumbnails back 2016-03-05 01:57:49 +00:00
Tikitu de Jager
438b161a25 Move docker-compose.env to docker-compose.env.example & adjust docs
This file, like `docker-compose.yml`, should be edited by the user. To
avoid merge conflicts when pulling updates, the edited version should
not be committed to the repository.
2016-02-19 22:51:49 +02:00
Pit Kleyersburg
724afa59c7 Add Dockerfile for application and documentation
This commit adds a `Dockerfile` to the root of the project, accompanied
by a `docker-compose.yml.example` for simplified deployment. The
`Dockerfile` is agnostic to whether it will be the webserver, the
consumer, or if it is run for a one-off command (i.e. creation of a
superuser, migration of the database, document export, ...).

The containers entrypoint is the `scripts/docker-entrypoint.sh` script.
This script verifies that the required permissions are set, remaps the
default users and/or groups id if required and installs additional
languages if the user wishes to.

After initialization, it analyzes the command the user supplied:

  - If the command starts with a slash, it is expected that the user
    wants to execute a binary file and the command will be executed
    without further intervention. (Using `exec` to effectively replace
    the started shell-script and not have any reaping-issues.)

  - If the command does not start with a slash, the command will be
    passed directly to the `manage.py` script without further
    modification. (Again using `exec`.)

The default command is set to `--help`.

If the user wants to execute a command that is not meant for `manage.py`
but doesn't start with a slash, the Docker `--entrypoint` parameter can
be used to circumvent the mechanics of `docker-entrypoint.sh`.

Further information can be found in `docs/setup.rst` and in
`docs/migrating.rst`.

For additional convenience, a `Dockerfile` has been added to the `docs/`
directory which allows for easy building and serving of the
documentation. This is documented in `docs/requirements.rst`.
2016-02-18 22:58:32 +01:00
Daniel Quinn
a70b40f618 Broke the consumer script into separate files and started on a mail consumer 2016-01-30 01:18:52 +00:00
avichalp
cb8fb4a820 adds Vagrantfile and setup script to setup the project 2016-01-23 22:57:53 +05:30
Daniel Quinn
0035e8d9e1 Ignoring my dev importer 2016-01-23 03:16:10 +00:00
Daniel Quinn
3b7ec82a48 Cleanup 2016-01-10 23:18:22 +00:00
Daniel Quinn
855ee64097 It works! 2015-12-20 19:23:33 +00:00
Daniel Quinn
73e6370253 Initial commit 2015-12-20 12:54:28 +00:00