Drone Delivery System Backend
Before Install You need to install the below mention package or software
-
rvm ,Ruby 2.5.0,Rails 5.2.3 ->https://rvm.io/rvm/install
-
Copy the repository in your machine
-
Run
rvm install ruby-2.5.0
if bundler not found than try this
gem install bundler
gem install rails
-
Run
bundle install
-
Duplicate Config file
-
database.yml.sample to database.yml
-
camel_config.yml.sample to camel_config.yml
-
-
Run
rails db:create
-
Run
rails db:migrate
-
Run
rails db:seed
In seed DB I have create the 3 drone and 3 warehouse location data in database.
I have also return unit test for testing the completed drone delivery system.
Run
rspec