- A small web application to create workouts based on your available equipment and the muscles you want to train.
- You can self-host the project or use the web app on workout.lol.
-
Clone the repository to your local machine
git clone https://github.com/Vincenius/workout-lol.git -
Navigate to the app directory
cd workout-lol -
Install the necessary dependencies
yarn -
Initialize the Mongo DB by importing the dump files from
lib/dump/prod:4.1 For the .metadata.json, you'll have to do this :
mongoimport --uri mongodb+srv://<USERNAME>:<PASSWORD>@<CLUSTER_NUMBER>.<URI>.mongodb.net/<DATABASE> --collection <COLLECTION> --type json --file <FILEPATH>4.2 For the .bson, you'll have to do this :
mongorestore --uri mongodb+srv://<USERNAME>:<PASSWORD>@<CLUSTER_NUMBER>.<URI>.mongodb.net/<DATABASE> --collection <COLLECTION> <FILEPATH> -
copy the
.env.distfile to.envand set environment variables as described in the file -
Start the local development server
npm run dev -
Open your browser to http://localhost:3000
- Clone the repository to your local machine
git clone https://github.com/Vincenius/workout-lol.git - Copy the
.env.dockerfile to.envand set environment variables as described in the file (do not modify theMONGODB_URIif you wish to use the mongodb container) - Run the docker compose file at the root of the project
docker compose -f docker/docker-compose.yml up -d --build - Wait for the applications to be up (
docker psto get the status) - Open your browser to http://localhost:3000
| medecau | EL | alvaro | devjev |
Become a supporter by donating on Ko-Fi: