Skip to content

ryanzverner/stockroom

Repository files navigation

Stockroom

Requirements

  • Install Leiningen - be sure to get version 2.
  • Ruby and Bundler
  • MySQL >= 5.5

Setup

To setup your environment:

$ bundle install
$ bundle exec rake db:setup
$ WAREHOUSE_ENV=test bundle exec rake db:setup

To add yourself as a super user locally:

  1. Start the server
$ lein run
  1. Sign in with Google
  2. The system will show your Google UID.
  3. Copy the UID and run this script to create a super user:
$ lein run -m stockroom.task.super-user <UID>
  1. Refresh the page

Development

To run the server in development mode:

$ lein run # run with development config

To run the tests:

$ lein spec

Some helpful scripts:

$ bundle exec rake -T

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published