Skip to content

TritonSE/CCH-Community-Markets

Repository files navigation

live-weller   CircleCI

An internal market evaluation tool for the UCSD Center for Community Health's Live Well Community Market program.

Build Instructions

Feel free to use yarn ... instead of npm run ..., but make sure not to commit the yarn.lock.

  1. Clone the repository: git clone https://github.com/tritonse/live-weller.
  2. Navigate to the directory: cd live-weller.
  3. Install the necessary dependencies: npm install.
  4. Create a new .env file using .env.example as a template: cp .env.example .env.
  5. Fill out the .env. See the example file below.
  6. Run the containerized service(s), e.g. MongoDB: docker-compose up -d.
  7. Start the Node app: npm run dev.

Sample .env

MONGO_URI=mongodb://localhost:27017/live-weller

Note: For Windows users, localhost won't work—you'll need to set the host to the Docker Machine's IP address.

Useful Commands

  • docker-compose up -d to configure and run any required services
  • npm install to install the necessary dependencies
  • npm run dev to run the Node app with Nodemon
  • npm run lint to lint the Node app with ESLint (without --fix)
  • npm run test to run the test suite with Jest
  • npm run lint:fix to handle the simple linter issues automatically
  • docker exec -it mongo.tse.local mongo to access MongoDB

Take a look at package.json for the actual commands.

About

A market evaluation tool for CCH's Live Well Community Market Program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published