Skip to content

HFreni/HFLD-Paperwork-DB

Repository files navigation

README

In order to get started with this paperwork management portal, you must do a few things, they're listed below.

Installing Dependencies

In order to get started, make sure you have Ruby 2.5, and Rails 5.

Once you have these dependencies installed on your system, run this terminal command:

bundle

DB Setup

Since we're using ENV variables to store our postgresql database connection info, you're going to have to export a few things:

export DBHOST="DBHOST"
export DBUSERNAME="USERNAME"
export DBPASSWORD="PASSWORD"

Next, let's run our standard db migration & creation.

To get up & running, use:

rake db:create db:migrate

If you don't mind losing data, and want to drop the tables, please run:

rake db:drop db:create db:migrate

In order to populate the gel colors table from the included CSV file (which contains HEX codes for 4 of the largest lighting gel manufacturers: Apollo, GAM, Rosco, and Lee), run this command:

rake db:seed

When depoloying with Docker, please modify the Dockerfile to have appropriate ENV variables for the database.

Development

This is the proposed schema currently, which is only partially built

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published