Skip to content
/ casa Public
forked from johnson-hung/casa

Custom Project: Computer Architecture Student Association

Notifications You must be signed in to change notification settings

kevin0748/casa

 
 

Repository files navigation

casa

Custom Project: Computer Architecture Student Association

Environment Setup

rvm use 2.6.6 # uses the right version of Ruby (i.e. 2.6.6)

bundle install # installs all the app's gems

# run db migration & seed
rake db:migrate # creates a local development database and app's schema
rake db:seed    # inserts initial data into the database

Misc

Run the app locally (if using AWS Cloud9)

rails s -p $PORT -b $IP

To make changes to migration, we have to rollback previous migration:

rake db:rollback

Then, edit migration and apply migration for corrected version:

rake db:migrate

Deployment

heroku login
heroku create
git push heroku master

# if need migration
heroku run rake db:migrate
heroku run rake db:seed

About

Custom Project: Computer Architecture Student Association

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 44.0%
  • HTML 42.3%
  • Gherkin 10.2%
  • CSS 1.5%
  • SCSS 1.2%
  • JavaScript 0.8%