Skip to content

emachnic/codetv_nginx

Repository files navigation

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

About

Source for the application in the CodeTV Nginx series

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published