Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
4a1f8960
Commit
4a1f8960
authored
Sep 05, 2019
by
Zac Wood
Browse files
don't delete the production database
parent
762a0ad4
Changes
1
Hide whitespace changes
Inline
Side-by-side
startup_prod.sh
View file @
4a1f8960
export
GO_SECRET_KEY
=
$(
dd
if
=
/dev/urandom
count
=
100 |
tr
-dc
"A-Za-z0-9"
|
fold
-w
60 |
head
-n1
2>/dev/null
)
python go/manage.py flush
--no-input
python go/manage.py makemigrations
python go/manage.py makemigrations go
python go/manage.py migrate
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment