Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.
/ cara-api Public archive

Cara is a face cheat sheet for members in a organisation (school, college, company, social or non social groups etc)

License

Notifications You must be signed in to change notification settings

itchef/cara-api

Repository files navigation

Cara API

Build Status

Cara is a simple face cheat sheet for various organisations like school, college and any other organisation.

Cara is not a data storage for people's profile, it just a simple visualisation having minimum contact details in it.

This project represents the API of cara app.

System Requirements

  • Ruby = 2.3.1
  • Rails = 5.1.5
  • PostgreSQL = 10.0

Setup Application

Setup Environment Variables

Setup the ENVIRONMENT VARIABLES in your .bashrc / .zshrc or any other preferable configuration file.

Variable Description
RAILS_ENV Type of environment of your rails application. i.e. development, test, production
CARA_API_DATABASE_USERNAME Username or Role of your postgres database
CARA_API_DATABASE_PASSWORD Password of your postgres database

Setup database

Run this to setup ROLE for postgres database,

createuser -P -s -e $CARA_API_DATABASE_USERNAME

After you are done with the USER creation, run this following command from the project root directory

bin/rails db:create db:migrate

This command will create the database(s) for the application to use.

License

GNU GPL V3

About

Cara is a face cheat sheet for members in a organisation (school, college, company, social or non social groups etc)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published