Skip to content

dhms013/RailsGrape_API

Repository files navigation

gem installation

gem install bundler:2.5.18
bundle install

create DB and run migration

  1. copy .env.example and rename it .env
  2. fill in the required fields
bundle exec rake db:create
bundle exec rake db:migrate

run

  1. run the app with rails s or use the provided Dockerfile, OR
  2. open Docker dekstop, run docker start {your_container_name}, then rails s

For Macbook M1 chips

run export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES before running rails s

Note !!!

This is just my create API's learning documentation. There's other way to create API than these code..

Have fun!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published