Skip to content

JoeChapman82/wti-site

Repository files navigation

Wildlife Trust of India Frontend

The frontend for Wildlife Trust of India database that tracks rescued animals.

Requirements

  • Node version 10

Install and run the application

  • Clone the repo into your required directory
  • Navigate to the directory in a terminal
  • You will need to generate certs for running locally. Refer to this article. For now, we ship with a cert directory which has everything you need to get started.
  • We ship a docker compose file for running mongodb. Simply from the repo root run docker compose up -d.
  • Copy the .env.sample to .env.
  • Run npm install in the terminal.
  • Run npm run devstart from the terminal.
  • The application will be running on port 4001. This can be changed in the .env (BSPORT) file.
  • Default login is [email protected] and password is password.

Run the server independently without browsersync

  • First build the assets by running npm run build.
  • Now start the server npm run start.
  • Make sure HTTPS is not set to false in .env and you have proper certificates installed.

Creators

License

ISC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published