Skip to content

HenrichJones/activeadmin-api

Repository files navigation

Activeadmin - API

Technologies

  • Ruby 2.6.4
  • Rails 6.0.1
  • PostgreSQL 9.4+

Setup

1. Environment Dependencies

  • Ruby: recommend to use some version manager like RVM or rbenv

2. Environment Variables

  • Create a file named database.yml on the config of the project with the following content and replace with your the database info.

3. Database

  • You must add the database variables on .env described above. Create a database directly on PostgreSQL (with psql) or use:
  rails db:create // create a default database following .env

After that run:

  rails db:migrate // add tables

After create database using rails db:create you can run

  rails db:seed // populate database with some objects

4. Bundle

bundle install

5. Run aplication

  rails s

6. API link on heroku

5. Database Model

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published