MagnusChase03 / Hackathon2022

Github repo for HackUTD2022
GNU General Public License v3.0
1 stars 0 forks source link
docker expressjs mongodb reactjs

issues-shield forks-shield stars-shield license-shield

Hackathon 2022

Github repo for HackUTD2022
· Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License

About The Project

Description

(back to top)

Built With

(back to top)

Getting Started

Prerequisites

Before building or running this project, one will need docker installed

1) Go here and follow instructions on how to set up docker

Installation

Clone the repo and build all containers from the docker compose file. The mongodb container requires a password to create a root user, so create an .env file in the same location as docker-compose.yml which contains MONGO_INITDB_ROOT_PASSWORD=yourpasswordhere. One will also have to specify which database to use in the .env file using MONGO_INITDB_DATABASE=yourdatabasehere

1) Clone the repo 2) cd backend 3) Create .env with MONGO_INITDB_ROOT_PASSWORD=yourpasswordhere 4) Create .env with MONGO_INITDB_DATABASe=yourdatabasehere 5) docker compose build

Usage

Run the backend containers

1) docker compose up

(back to top)

License

Distributed under the GPL License. See LICENSE.txt for more information.

(back to top)