Backend responsible for handling invite tokens for the open source app Argu.
Clone this repo as part of the parent repo, see Argu for more information about the setup.
Use this setup if you don't want to run the Token service in a Docker container:
- Install the Ruby version defined in the Gemfile (preferably using a version manager like RVM, rbenv or asdf)
- Install bundler
gem install bundler
- If you're on a mac:
-
- If you're on linux:
-
- Install gems
bundle install
- Stop the Token Docker container if it's running
- Start the server locally in either development mode
RAILS_ENV=development bundle exec rails s -b 0.0.0.0 -p 3003
- or in staging mode if you want more performance and less debugging
RAILS_ENV=staging bundle exec rails s -b 0.0.0.0 -p 3003
Want to contribute to this project?
See CONTRIBUTING.md.