Skip to content

Latest commit

 

History

History
79 lines (54 loc) · 1.77 KB

README.md

File metadata and controls

79 lines (54 loc) · 1.77 KB

Moonode

Dashboard and data provider for your record label (in early development stage)

Setup

Prerequisites (if you want to use vagrant box)

Virtualbox

$ sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian trusty contrib"
$ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install -y virtualbox-4.3 dkms

Vagrant

$ sudo apt-get install vagrant

Install and run

Dev environment in the examples below is in /home/username/dev, so if you have it different, just be sure to change paths.

We use slightly modified rails-dev-box vagrant box as an development VM - check documentation there if you have any concerns.

Clone project

$ git clone [email protected]:moonleerecords/moonode.git ~/dev/moonode

Run vagrant (first time it takes a bit longer)

$ cd ~/dev/moonode
$ vagrant up
$ vagrant ssh

Install/Setup

$ bundle
$ rake db:create
$ rake db:migrate

Run

$ bin/rails server -b 0.0.0.0

Application will then be available at http://localhost:3000

Tests

$ rake db:migrate RAILS_ENV=test
$ rake test

Database structure

Current database schema

TODO