Giter Site home page Giter Site logo

vino's Introduction

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 [email protected].

vino's People

Contributors

whargrove avatar

Watchers

 avatar

vino's Issues

Link to Twitter

As a user I can link my account with Twitter so that I can share posts directly to Twitter.

Add Sharing Options

As a user I can choose to share a post to a connected Twitter or LinkedIn account so that my post is shared and drives traffic to the blog.

Add identities

Should be visible in application layout.

  • Twitter
  • GitHub
  • LinkedIn
  • whphoto.co

#notice displays on posts#show

Steps to reproduce:

  • Go to weshargrove.com/login
  • Login in as user
  • Logout
  • Go to weshargrove.com/posts/2

Actual behavior:

  • 'Logged out' appears between header and post.title

Expected result:

  • No text should be visible between header and post.title

Glyphicon fonts are not found when loading http://weshargrove.com

Request

GET /assets/glyphicons-halflings-regular-7a07f26f72466361ac9671de2d33fd1c.woff HTTP/1.1
Host: weshargrove.com
Connection: keep-alive
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1817.4 Safari/537.36
Accept: */*
Referer: http://weshargrove.com/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8

Response

HTTP/1.1 404 Not Found
Server: nginx/1.4.3
Date: Sun, 02 Feb 2014 01:57:55 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Content-Encoding: gzip

Cannot create a new post

When selecting new post on admin/posts/index, an internal server error appears.

NameError in Admin::PostsController#new

uninitialized constant Admin::PostsController::Net

Link to LinkedIn

As a user I can link my account to LinkedIn so that I can share posts with LinkedIn.

h1 on / is too wide

Could not reproduce using Google Chrome dev tools (override device metrics and user agent)

Try Safari dev tools?

bugshot_2013-10-08_220838

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.