This is a repo for creating a simple social network site, called Fakebook. It is meant to be educational and part of CMU's ScottyLabs Web App in a Weekend.
Once you've set up git, ruby, and Rails, clone this repository to your own computer. We recommend using github's Mac and Windows apps, but you can also run the following command from your terminal.
git clone [email protected]:juliat/fakebook.git
First move to your fakebook folder
cd fakebook
Run the following commands to start the server
bundle install
rake db:migrate
rails server
Once things are running, open your browser to http://localhost:3000/
We've included sample code for a couple different stages of building this app. In the github for Mac/Windows apps, you can just click on "Branches" to switch between these various stages.
You should be at this stage at the end of day one. Models have been generated, and the database has been structured. To switch back to this stage, enter
git checkout master
You should be at this stage at the end of the "Models Logic, Custom Views, and Testing" sessions on Saturday. We've added some controllers and views (HTML). To switch to this stage, enter
git checkout intermediate
You should end up with something close to this at the end of Saturday. We've added some basic styling through CSS. To switch to this stage, enter
git checkout final