A clean and simple markdown blog. Inspired by Svbtle.
If you are new to Rails development, check out guides for getting your development environment set up for Mac and Windows.
$ git clone git://github.com/NateW/obtvse.git
$ cd obtvse
$ bundle install
$ rake db:migrate
Edit config/config.yml
to set up your site information. To set up your admin username and password you will need to set your environment variables.
Start the local server:
$ rails s
Go to 0.0.0.0:3000, to administrate you go to /admin
Install the Heroku Toolbelt on your local workstation. This ensures that you have access to the Heroku command-line client, Foreman, and the Git revision control system.
Now, create the app on Cedar stack
$ heroku create --stack cedar
Edit config/config.yml
to set up your site information. To set up your admin username and password you will need to set your environment variables.
$ heroku config:add obtvse_login=<LOGIN> obtvse_password=<PASSWORD>
Or in your shell (~/.bashrc or ~/.zshrc for example)
$ export obtvse_login=<LOGIN>
$ export obtvse_passowrd=<PASSWORD>
Deploy your changes to heroku.
$ git add .
$ git commit -m "deploy obtvse blog on Heroku"
$ git push heroku
After that, run rake.
$ heroku run rake db:migrate
Check ps
to see the state of app's processes:
$ heroku ps
$ heroku open
Here's a quick guide for installing on Heroku.