Skip to content

Instantly share code, notes, and snippets.

@harrisonmalone
Last active April 21, 2020 03:38
Show Gist options
  • Save harrisonmalone/dad1036668397ad8a0a178a3120c38da to your computer and use it in GitHub Desktop.
Save harrisonmalone/dad1036668397ad8a0a178a3120c38da to your computer and use it in GitHub Desktop.

Commands when cloning a rails project

  1. Clone the code from github
git clone [email protected]:CoderAcademy-MEL/celebrities-app.git
  1. cd into the new directory

  2. Install the javascript dependencies

yarn install
  1. Create the postgres database
rails db:create
  1. Execute the migration files to format the db
rails db:migrate
  1. rails s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment