HUB
Sign inSign up

iucn/ecolex_web

By iucn

•Updated over 2 years ago

Docker hub image repo for ecolex_web service.

Image
0

3.0K

iucn/ecolex_web repository overview

⁠Ecolex.org

Docker build Updates

⁠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.

The web image is build and pushed automatically in the following dockerhub repo: web⁠.

The image is rebuild on every push on the master branch of this repo. It is build using this⁠ Dockerfile. In the docker⁠ directory you can find a sh file(docker-entrypoint.sh) used as entrypoint for docker image, ecolex.crontab file containing cron tasks and files used for those tasks (import_updater.sh, reprocess_from_db.sh) .

⁠Django application

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

Run with:

$ ./manage.py runserver

Tag summary

Content type

Image

Digest

sha256:1f4afba27…

Size

199 MB

Last updated

over 2 years ago

docker pull iucn/ecolex_web