Skip to content

ehaydenr/coursefrontend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brew install git git clone https://github.com/acm-uiuc/Scheedule2.git cd Scheedule2 sudo gem install bundle bundle install

// gem install pg fails

brew install postgres

// gem install pg fails again // workaround for mac

sudo su env ARCHFLAGS="-arch x86_64" gem install pg exit

bundle install

// gem install pg fails yet again

ARCHFLAGS="-arch x86_64" bundle install

// finally worked!

npm install -g bower bower install

// Let's run the server!

rails s

// visit http://localhost:3000 in chrome // looks like rails can't connect to postgres

pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start createdb psql -h localhost // This will open the psql shell CREATE USER sigsoft WITH CREATEDB PASSWORD 'sigsoft';

// Press Ctrl-D to exit psql shell

rails s

// visit http://localhost:3000 in chrome // scheedule2_development DB does not exist

rake db:create rake db:migrate

// visit http://localhost:3000 in chrome

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.6%
  • HTML 24.7%
  • CSS 2.5%
  • Nginx 1.2%