Skip to content
This repository was archived by the owner on May 25, 2024. It is now read-only.

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.

VariableDescription
RAILS_ENVType of environment of your rails application. i.e. development, test, production
CARA_API_DATABASE_USERNAMEUsername or Role of your postgres database
CARA_API_DATABASE_PASSWORDPassword 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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages