Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.
/ ctc_site Public archive

Our wonderful website, written in Ruby on Rails

Notifications You must be signed in to change notification settings

CodeTheChangeUBC/ctc_site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code the Change - UBC Chapter

Club Website

Hi and welcome to the UBC Chapter of Code the Change's website project page. It is written in ruby on rails with PostgreSQL database support. See the Gemfile for a complete listing of modules. The site can be found here.

Some notes:

  • Ruby version: 2.0.0

  • Rails version: >= 5.0.0

  • Deployment instructions:

    • Remotely Heroku auto-deploys from production branch. Ensure this branch is always stable!
    • Locally Run rails server or rails s for a localhost server at port 3000. To specify a different port include -p, e.g., rails s -p 3001.
    • Be sure to get a copy of config/application.yml config/secrets.yml from one of the project maintainers on CtC Slack at #our-website
  • Database Manipulation:

    • To update database after update or adding a model run rake db:migrate. This migrates the current schema.
    • To seed the database run rake db:seed
    • To reset the database and reload the current database run rake db:reset db:migrate
    • To destroy the database, create and migrate it run rake db:reset db:migrate
    • After modifying the database, to run tests first run rake db:test:prepare

About

Our wonderful website, written in Ruby on Rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •