Last active
April 28, 2020 23:14
-
-
Save mzemel/24bf582861acde1de5fc7130726787f5 to your computer and use it in GitHub Desktop.
Terminal commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/jeopardy # change to application directory (run all commands in this directory) | |
bundle exec rails server -b 0.0.0.0 # start application (available on host machine at localhost:3000) | |
git pull origin master # get latest code | |
bundle exec rails db:migrate # apply database migrations | |
bundle install # install any missing dependencies | |
bundle exec rails assets:precompile # build .css files | |
bin/webpack # build .js files | |
bundle exec rails console # start rails console | |
sqlite3 db/development.sqlite3 # start SQL console | |
> .headers on # add headers | |
> .mode column # better formatting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment