-
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
-
Clone this repository
git clone git@github.com:SUTD-3DC/team-spirit.git
-
Install RVM (Ruby Version Manager)
\curl -L https://get.rvm.io | bash -s stable
-
Get the website running!
cd team-spirit rvm install 2.3.0 bundle install cp config/database.yml.sample database.yml
-
Create your secrets.yml file under config/secrets.yml
puma
-
If the role 'postgres' does not exist,
CREATE USER postgres PASSWORD="password" ALTER DATABASE team_spirit_dev WITH OWNER postgres
- Update npm_packages file
rake npm:install
The website will be accessible at localhost:9292. Hooray!