Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Source for the application in the CodeTV Nginx series
CSS JavaScript Ruby
branch: before

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
bin
config
cookbooks
db
doc/railsthemes_meta
lib
public
spec
vendor/assets
.gitignore
Gemfile
Gemfile.lock
Guardfile
README.markdown
Rakefile
Vagrantfile
config.ru

README.markdown

CodeTV Nginx

This is the Code School Journal application used in the Nginx series of CodeTV.

Setup

Clone the repository:

    $ git clone https://github.com/emachnic/codetv_nginx.git

Go into the directory and run the following:

    $ cd codetv_nginx
    $ bundle install
    $ rake db:setup

After the database is created and seeded, run the server:

    $ rails server

In your browser, go to http://localhost:3000 and you should see the Entries#index page

Working with Vagrant

Included in the repository is a Vagrantfile for an Ubuntu 12.10 base box. To set up the Vagrant box, follow these instructions:

  1. Install VirtualBox from the site
  2. Install Vagrant according to the instructions
  3. Run vagrant up to download the box and boot up the machine

Once the virtual machine is running, you can SSH into it by running vagrant ssh

Something went wrong with that request. Please try again.