Coder Social home page Coder Social logo

graveio's Introduction

graveio - where your code stays alive

Build Status

graveio provides an easy-to-use and install Pastebin-Solution intended for inhouse Use.

It was developed with ruby 1.9.3p0 and rails 3.2.

Installing:

  • clone this repository
  • install 'ruby 1.9', 'nodejs' and a database of your choice (e.g. postgresql, sqlite3)
  • install Bundler: gem install bundler
  • adjust Gemfile to match your database (e.g. gem "pg" for postgresql)
  • call bundle install inside of repository
  • call rake db:create && rake db:migrate
  • call rake test to ensure that everything works

Launching:

  • rails s

This will run Rails in development mode on port 3000.

For easier posting of content to graveio, you can use bury, a Ruby command line tool which also integrates with Vim. You can find it in public/bin/bury.rb.

At this state of development take a look for a help at Rails Guides site.

Virtual Test and Development Environment

To give gravio a try we provide an automated process to set up a virtual test/development machine with VirtualBox and Vagrant.

Requirements

Bootstrapping the Virtual Development Machine

git clone https://github.com/kmerz/graveio.git
cd graveio
git submodule init
git submodule update
vagrant up

This sets up a virtual development machine host graveio-dev based on Ubuntu 12.04. providing ruby 1.9.3 via rvm(1), the latest nodejs stable release and sqlite3 as database. The IP address assigned to the host is 192.168.10.10 which can be changed by adapting the parameter "config.vm.network" in Vagrantfile accordingly. The setup takes a couple of minutes. After the installation has finished you can login to the machine by running: vagrant ssh

Running graveio in the Virtual Machine

Run the following steps to install graveio within the Virtual Development Machine:

vagrant ssh
cd /vagrant
sudo -E bundle install
rake db:create && rake db:migrate
rake test
rails s

Then, open your favorite browser and point it to http://192.168.10.10:3000

Contributing to graveio

If you would like to contribute to graveio clone it from https://github.com/kmerz/graveio.

Please add tests along with new code. If you want to contribute new code please accept the maximum width of 80 characters per line in source files.

We are now running all of our tests on Travis-CI.

Thanks to the contributors:

graveio's People

Contributors

kmerz avatar h5b avatar darinkes avatar vitorbal avatar flowm avatar dloss avatar

Watchers

James Cloos avatar  avatar

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.