GTBitsOfGood / VolunTrack

Volunteer and Event Management Platform
https://dev.volunteer.bitsofgood.org
MIT License
7 stars 8 forks source link

image info

A Volunteer and Event Management Platform for Nonprofits

Stack

Setup

Initializing Env Vars

Updating Env Vars

MongoDB

A running instance of MongoDB is required this project.

Node

Make sure you use Node 16. You can check your node version by running node -v.

Running

Run With Docker (Preferred)

  1. Install Docker
  2. Start the application with Docker Compose: docker compose up

If you make any changes to the packages, you may need to rebuild the images. To do this, append --build to the above docker compose up command.

The Dockerized application will have live-reloading of changes made on the host machine.

Note: On linux-based operating systems, if you come across an entrypoint permission error (i.e. process: exec: "./entrypoint.sh": permission denied: unknown), run chmod +x ./entrypoint.sh to make the shell file an executable.

Windows Users: If you come across this error exec ./entrypoint.sh: no such file or directory when running the docker compose command, please follow this Stackoverflow thread to fix it.

Development

To understand this code better, read the Code Tour.

  1. Run yarn
  2. Run yarn dev

Production

  1. Setup your host/vm and the necessary env vars
  2. Run yarn install
  3. Run yarn start

Styling

image info