docker-development-environment/README.md
2020-04-03 16:59:29 +02:00

24 lines
630 B
Markdown

# Re2o Docker for devs
This is simply a docker environment to dev re2o locally.
To use it :
* clone Re2o;
* copy `Dockerfile`, `re2o-dev.sh` and `docker-compose.yml` into the cloned directory;
* copy `settings_local.py` into the `re2o` folder in the cloned directory;
* run `docker-compose up`
The apache server and migrations are updated every time you relauch the `docker-compose` command. To enter a shell in the execution environment, you can use
```
docker ps
```
to find the id of the re2o environment, then
```
docker exec -it <ID> bash
```
KEEP IN MIND THAT THIS IS A DEV ENVIRONMENT NOT MEANT FOR PRODUCTION USE.