Skip to content

whargrove/vino

Repository files navigation

Vino

Vino is the very simple blog engine behind weshargrove.com.

Build Status Code Climate Code Climate

Setup

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.)

Development

I use OS X for development; if you use another OS you're on your own.

Clone repo to your local machine

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

Setup the application variables

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

Setup Database

Uncomment the development and test sections

Use Pow to serve the rack app

Install Pow

curl get.pow.cx | sh

Configure Pow to serve the app to http://app.dev

cd ~/.pow

ln -s /path/to/app

Install gem dependencies

Use Bundler to install gems

bundle install

Setup the database for development

Go back to the app root

cd /path/to/app

Migrate the database

rake db:migrate RAILS_ENV=development

Create a user

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!

FAQ

Why build a blog application instead of using Wordpress, Tumblr, Squarespace, etc.?

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.

Why Vino?

I like wine.

Questions?

Shoot me an email at wesleyhargrove@gmail.com.

About

Vino is the very simple blog engine behind weshargrove.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published