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