-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As an SFSCON maps maintainer I want to bring the application into production, creating the necessary CI/CD pipeline #9
Comments
@danielegobbetti I've set up production along testing, but in the process I think it nuked the testing DB (testing and prod pointed to the same volume by mistake). |
On the testing vm there are a couple of dumps ready to be restored. I left the whole history of what I imported there, but consider taking the most recent one. I'm out of office for the rest of the day, hence I'll not be able to follow up much. The actual import command is adapted from the main repo, but you find it in the history of my user as well. |
I've managed to load your dump for test and production, so that's nice. In the end this command fixed it for me, should we call this at launch, too? docker exec -it -w /app c3nav-prod-c3nav-core-1 /app/env/bin/python manage.py clearmapcache --include-history --include-geometries Note, that I had to rename the compose deployment, so you will have to swap out |
Yes, add this to the scripts called at launch, I was testing the right incantation but if you found one that works I'd go for this.
Noted, thanks! |
Originally posted by @sseppi in #2 (comment)
The text was updated successfully, but these errors were encountered: