Install using Docker
In order to install the project for development, you have to clone this repo, gain access to the ecolex.docker gitlab repo and follow the instruction from there.
The project uses 3 docker images ( web, maria and solr) and a docker-compose file located in the gitlab repo.
All 3 images are rebuild on every push on the master branch of this repo.
The image is build using this Dockerfile. In the web directory you can find two sh files(
entrypoint.sh) used as entrypoints for docker image,
ecolex.crontab file containing cron tasks and files used for those tasks (
Ecolex Maria image
Ecolex Solr image
We are using Python 3 for the web server application. Initialize an environment with:
$ pyvenv sandbox $ source sanbox/bin/activate $ pip install -r requirements.txt
$ ./manage.py runserver