Skip to content

PDS-UFAL/odados-ufal-api

Repository files navigation

Prerequisites

The setups steps expect following tools installed on the system.

I recommend using the ruby ​on rails installation guide from gorails.

  • Github
  • Ruby 3.0.0
  • Rails 6.1.4.1
  • PostgreSQL 12
  • Redis 5.0.7
1. Check out the repository
git clone [email protected]:PDS-UFAL/odados-ufal-api.git
2. Create .env file

Copy the sample .env.example file and edit the environment variables as required.

cp .env.example .env
3. Create and setup the database

Run the following commands to create and setup the database.

bundle exec rails db:create db:migrate db:seed
4. Start the Rails server

You can start the rails server using the command given below.

bundle exec rails s

And now you can use the api with the URL http://localhost:3000/api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages