Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.37 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.37 KB

Forest Service Database

This projest is a database for the forest service. It includes a mysql database and a nodejs application. The application runs in docker containers.

How To Contribute

Setup

Database

To contribute to the database, reference the following example:

  • Create a new file CreateExample.sql in the ./sql-scripts/ directory
  • Add the following sql query into the file:
    • CREATE TABLE example(example_name varchar(25), example_description varchar(25));
  • Save CreateExample.sql
  • From the root directory, run the following command:
    • docker-compose up --build

Node Application

To contribute to the node application, reference the following example:

  • Make file changes in the web-app directory
  • From the root directory, run the following command:
    • docker-compose up --build

Troubleshooting

Docker