Update documentation for new instance creation
This commit is contained in:
parent
ebc4ca50ae
commit
af7087a224
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
name=$1
|
||||
app=$name-prod
|
||||
app=$name
|
||||
remote=$name
|
||||
env=$name.env
|
||||
rndm=$(echo $RANDOM | md5sum | head -c 32; echo)
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
name=$1
|
||||
app=$name-prod
|
||||
app=$name
|
||||
heroku apps:create \
|
||||
--team skillbox \
|
||||
--region eu \
|
||||
--stack heroku-20 \
|
||||
--addons heroku-postgresql:hobby-basic,scheduler:standard \
|
||||
--addons heroku-postgresql:basic,scheduler:standard \
|
||||
$app
|
||||
|
|
|
|||
|
|
@ -4,5 +4,6 @@
|
|||
- create an .env file for this app with the name `$name.env`
|
||||
- `./create-instance.sh <app-name>`
|
||||
- `./configure-instance.sh <app-name>`
|
||||
- heroku run --app $name-prod python server/manage.py dummy_data
|
||||
- heroku run --app $name-prod python server/manage.py createsuperuser
|
||||
- `git push <app> <branch>:master`
|
||||
- `heroku run --app $name-prod python server/manage.py dummy_data`
|
||||
- `heroku run --app $name-prod python server/manage.py createsuperuser`
|
||||
|
|
|
|||
Loading…
Reference in New Issue