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
schedules
Commits
6456a846
Commit
6456a846
authored
Jul 26, 2018
by
Zac Wood
Browse files
i messed up
parent
6a48f1e8
Changes
1
Show whitespace changes
Inline
Side-by-side
schedules_api/start.sh
View file @
6456a846
#!/bin/sh
# generate a secret key for rails to use
export
SECRET_KEY_BASE
=
$(
rails secret
)
cp
db/development.sqlite3 db/production.sqlite3
# uncomment for faster docker builds during testing
#cp db/development.sqlite3 db/production.sqlite3
# load data from patriot web into database
rails db:migrate
rails db:seed
# start the server
rails s
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