This is the (future) backend part of the image upload website Stockme (name subject to change).
It's a simple rails 5 api application, developed and tested with Ruby v2.4.0, older versions should probably work but there's no guarantee. (Rails 5 needs at least v2.2.2).
Note: This project is part of my 12 Months / 12 Side Projects.
- Imagemagick
- Clone repository
- Copy
config/database.yml-disttoconfig/database.ymland configure your database cf Rails documentation - Copy
config/secrets.yml-disttoconfig/secrets.ymland change value to something quite unique. - Copy
config/initializers/cors.rb-disttoconfig/initializers/cors.rb - Copy
config/application.rb-disttoconfig/application.rb ./bin/bundle install./bin/rails db:setup./bin/rails server
Simply run ./bin/rails test