majodev / Fitness

Support fork of https://github.com/fuccac/Fitness

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fitness

Development

Quickstart

Do this to setup a development environment:

# copy the .env.sample to .env and set your values

# Start up the development docker container (multistage Dockerfile, stage 1 only)
./docker-helper.sh --up
# node@3b506a285f7f:/app$

# within this development container:
node$ npm install

# start development server
node$ npm start
# now available at http://localhost:2000

Production build

If you want to build and run your own production container locally:

# Build the production docker container (final stage)
docker build . -t <your-image-tag>

# Run it (if you have previously started the development container, halt it!)
docker run -e PROXY_MODE=1 -p 8080:8080 <your-image-tag>
# now available at http://localhost:8080

The final image is based on a minimal container image that runs rootless.

License

(c) fuccac

About

Support fork of https://github.com/fuccac/Fitness


Languages

Language:JavaScript 90.1%Language:HTML 6.7%Language:CSS 2.6%Language:Dockerfile 0.5%Language:Shell 0.2%Language:Procfile 0.0%