API list: http://api.gdf.name/api_doc
- Install Ruby, Bunlder, Rails and Postgresql
- Create a new user in Postgresql according to tutorial
- Install all the necessary gems
bundle install
- Install the pg dev package for pg gem
sudo apt-get install libpq-dev
- Go to the
ROR_api_server_example
project directory - Create the database
rails db:create
- Migrate the database
rails db:migrate
rails s
- Install all the necessary package for
docker
anddocker-compose
- Go to the
ROR_api_server_example
project directory - Up the server
docker-compose up
- (Optional) Run the server in background
docker-compose up -d