Commit 32e98510 authored by alexAubin's avatar alexAubin
Browse files

README: add note about enabling appropriate modules when testing upgrade/migrations

parent 38c0641e
Pipeline #100 passed with stage
in 2 minutes and 44 seconds
......@@ -430,6 +430,7 @@ Here are some guidelines:
- Obtain a dump from your Coin's production DB
- Clone this repository, install Docker (c.f. 'Development' section)
- Make sure that you tweak the settings file to enable your relevant modules
- `mkdir ./dumps/` in the git clone, add your `.sql` dump inside, then mount it in the db's container by adding a line such as `- ./dumps/:/mnt/dumps/` in `db` > `volumes` inside `docker-compose.yml`
- Launch the `db` container with `docker-compose up -d db`, enter the container with `docker-compose exec -u root db bash`, then restore the dump with `psql -U coin coin < /mnt/dumps/yourdump.sql`
- Let's now enter the app container with `docker-compose exec coin bash`, then run migrations with `./manage.py migrate`
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment