gem install bundler:2.5.18
bundle install
- copy
.env.example
and rename it.env
- fill in the required fields
bundle exec rake db:create
bundle exec rake db:migrate
- run the app with
rails s
or use the providedDockerfile
, OR - open Docker dekstop, run
docker start {your_container_name}
, thenrails s
run export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES before running rails s
This is just my create API's learning documentation. There's other way to create API than these code..
Have fun!