Vino is the very simple blog engine behind weshargrove.com.
Vino is built on Ruby on Rails; uses PostgreSQL for database storage and Capistrano for deployment.
I'm assuming you already have Ruby and Ruby on Rails installed on your machine, so let's begin. (If you do not, check out this guide.)
I use OS X for development; if you use another OS you're on your own.
Clone the git repository to your local machine
git clone https://github.com/whargrove/Vino.git vino
Change directory to the cloned repository
cd vino
First, create a usable application.yml. (You could mv
if you don't want to keep the example around. config/application.yml is ignored for deployment purposes.)
cp config/application.example.yml config/application.yml
If you want to use a random secret_key_base
for development then follow the next few steps. Otherwise, skip to Setup PostgreSQL.
rake secret | pbcopy
Open config/application.yml
Select default text
Command + V to paste new secret_key_base
Uncomment the development and test sections
Install Pow
curl get.pow.cx | sh
Configure Pow to serve the app to http://app.dev
cd ~/.pow
ln -s /path/to/app
Use Bundler to install gems
bundle install
Go back to the app root
cd /path/to/app
Migrate the database
rake db:migrate RAILS_ENV=development
Go to http://vino.dev/signup in your browser.
Enter your user name, first name, last name, and password to sign up.
After pressing 'Sign up' you will be redirected to /, go to http://vino.dev/login
After entering your user name and password you will be logged in and redirected to http://vino.dev/posts
Have at it!
I've used many blogging platforms over the years and have never been 100% satisifed. I wanted a simple application that I could use that met very basic needs without a huge amount of overheard.
I like wine.
Shoot me an email at [email protected].