Skip to content

StratusPrint/WebAPI

Repository files navigation

API Build Status Coverage Status

Commits pushed to the master branch are automatically deployed to https://api.stratusprint.com.

Commits pushed to the dev branch are automatically deployed to https://dev.api.stratusprint.com.

Running locally

  1. If you have not done so already, install both Vagrant and VirtualBox.

  2. Clone this repo:

    git clone [email protected]:StratusPrint/API.git
  3. Start the virtual machine:

    vagrant up
  4. SSH in to the virtual machine:

    vagrant ssh
  5. Access the the API locally at http://localhost:8081/

Queueing backend

Background jobs created by the API are configured to run on Sidekiq. Sidekiq can be started by running:

bundle exec sidekiq

inside the Rails application directory.