Skip to content
Snippets Groups Projects
Commit c2ef5eda authored by florimondmanca's avatar florimondmanca
Browse files

update for usage of dev branch

parent bbbbce4d
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ deploy:
app:
# direct each branch to the corresponding app
master: oser-backend
staging: oser-backend-staging
dev: oser-backend-dev
run:
# automatically run new migrations
- 'python manage.py migrate'
......
......@@ -208,11 +208,11 @@ Vous pouvez consulter les logs publics ou accéder à l'interface sur [le site d
## Déploiement
Le backend est déployé sur Heroku dans deux applications : staging et production.
Le backend est déployé sur Heroku dans deux applications : dev et production.
### Déploiement automatique
Après un build réussi sur `master` ou `staging`, TravisCI provoque un nouveau déploiement sur Heroku.
Après un build réussi sur `master` ou `dev`, TravisCI provoque un nouveau déploiement sur Heroku.
### Accéder aux applications sur le Dashboard Heroku
......
......@@ -13,7 +13,7 @@ DEBUG = os.environ.get('DEBUG', False)
ALLOWED_HOSTS = [
'localhost',
'oser-backend.herokuapp.com',
'oser-backend-staging.herokuapp.com',
'oser-backend-dev.herokuapp.com',
'oser-cs.fr',
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment