Skip to content
This repository has been archived by the owner on Jun 26, 2018. It is now read-only.

SUTD-3DC/team-spirit

Repository files navigation

TEAM-SPIRIT

wercker status

This is the website repo for 3DC!

Steps to get this running:

  1. Install Postgres, get it running and create a local database!

    brew update
    brew install postgres
    postgres -D /usr/local/var/postgres
    createdb team_spirit_dev
  2. Clone this repository

    git clone git@github.com:SUTD-3DC/team-spirit.git

  3. Install RVM (Ruby Version Manager)

    \curl -L https://get.rvm.io | bash -s stable

  4. Get the website running!

    cd team-spirit
    rvm install 2.3.0
    bundle install
    cp config/database.yml.sample database.yml
  5. Create your secrets.yml file under config/secrets.yml

    puma
  6. If the role 'postgres' does not exist,

    CREATE USER postgres PASSWORD="password"
    ALTER DATABASE team_spirit_dev WITH OWNER postgres
    

Vendor Assets

This project uses npm-rails to handle vendor assets.

  1. Update npm_packages file
rake npm:install

The website will be accessible at localhost:9292. Hooray!