-
Notifications
You must be signed in to change notification settings - Fork 0
Installation guide
OpenCounter helps entrepreneurs navigate the business permitting process. OpenCounter answers three questions for new and prospective business owners: "To open my business's doors here in Santa Cruz, (1) which forms do I need to file, (2) how long will it take, and (3) how much will it cost me?"
-
You'll need a recent version of Ruby and Postgres -- you'll probably also want rvm.
-
Install & use a recent version of Ruby: user$ rvm install 1.9.3 user$ rvm use 1.9.3 Using /Users/user/.rvm/gems/ruby-1.9.3-p194
-
Change directory to opencounter and install the requirements: user$ bundle install
-
Create a Postgres database for the app. The default development user is
postgres
and database name isopencounter_dev
. You can customize this inconfig/database.yml
. -
Run the migrations to set up the database: user$ rake db:migrate
-
Start the web server: user$ rails server
-
Go to http://localhost:3000/ and you'll see the OpenCounter start page