Comments (2)
Use something like this:
deployment:
staging:
branch: develop
commands:
- "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || git fetch --unshallow"
- git push [email protected]:{{project_name}}staging.git $CIRCLE_SHA1:refs/heads/master
- heroku maintenance:on -a {{project_name}}-staging
- heroku run python manage.py migrate -a {{project_name}}-staging
- heroku maintenance:off -a {{project_name}}-staging
production:
branch: master
commands:
- "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || git fetch --unshallow"
- heroku pg:backups capture -a {{project_name}}-production
- git push git@heroku.{{project_name}}-production.git $CIRCLE_SHA1:refs/heads/master
- heroku maintenance:on -a {{project_name}}-production
- heroku run python manage.py migrate -a {{project_name}}-production
- heroku maintenance:off -a {{project_name}}-production
from django-react-boilerplate.
This is on for long time now
from django-react-boilerplate.
Related Issues (20)
- Test Render.com build on CI
- Transform the repository to a template repository HOT 1
- Select a reliable frontend framework for this project HOT 3
- Running make docker_setup returns error with current version of docker-compose.yaml HOT 2
- "make docker_makemigrations" not working. HOT 7
- Apply recommended Celery settings
- Replace most linters with ruff
- Use django-anymail HOT 5
- Consider migrating Prettier and ESLint to Biome HOT 1
- `make docker_up` is throwing `external volume "<project_name>_dbdata" not found` HOT 1
- Add pytest-hot-reloading
- Add django-upgrade to pre-commit
- Request for creating documentation for using virualenv. HOT 2
- Running Locally - Celery/RabbitMQ/Redis HOT 3
- Tailwind configuration error HOT 3
- Celery app name in docker compose appears to not update to project name HOT 1
- psycopg2 is no longer recommended for new Django projects HOT 1
- django-breach no longer needed as of Django 4.2 HOT 2
- Upgrade psycopg
- Sass: "Breaking Change: Mixed Declarations" Deprecated Warning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-react-boilerplate.