- Strapi - Open-source, NodeJS, Headless CMS
- Gatsby - Frontend framework and JamStack delivery platform
- Docker - A Container Engine
Run the following command in your command-line within the directory of your choosing.
git clone git@github.com:RejaurRahman/light-shape-gym.git
OR
git clone https://github.com/RejaurRahman/light-shape-gym.git
Firstly copy:
Copy .env.example and add .env in the root of the repository
Begin by opening the terminal window and navigate to the root of the repository.
- If Node module packages have been added or removed or repo needs to be run first time
docker-compose build
- If it's not the first time the repo is build and only files have been changed and full re-build is not required
docker-compose up
- if packages have been added/removed and updates to core structure such as file/directory renaming
docker-compose up --build
- If the containers need to be stopped/removed
docker-compose down
- http://localhost:8000/ - View Gatsby site on local browser
- http://localhost:8000/___graphql - View Gatsby site's data and schema
- http://localhost:1337/admin - view Strapi Admin panel on local browser