Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Running a Server
Clone this wiki locally
The Bandiera server is written in Ruby, so you're going to need to be able to run a Ruby application within your organisation.
- Clone this repo.
bundle install --without development test.
- Create a
config/database.ymlfile with your database connection details (use
config/database.yml.sampleas a guide).
RACK_ENV=production bundle exec rake db:create db:migrate.
bundle exec rackup -p 5000
You'll now see the web interface sitting on
http://localhost:5000, and the API at
http://localhost:5000/api. Obviously in production, you'll want to run it via your favourite rack server (i.e. Unicorn, Puma, Thin or Passenger).