KK-67 website uses the following services:
You will need docker-compose to be able to use this repository
- Clone the repo
$ git clone [email protected]:Kraftsportsklubben-av-1967/kk67-docker.git
-
Create a
webroot
folder -
Clone the above repositories into
./webroot
and follow their guides to set them up with docker-compose -
Build the compose
docker-compose up --build
After this is done you can simply use
docker-compose up
- The services will be running:
- Backend:
http://localhost:4000
- Frontend:
http://localhost:3000
- Backend:
Additional outputs will be displayed in your terminal. Remember to close this once you're done.
Using docker-compose allows us to use virtual machines to load all dependencies and development environment without interfering with our own personal setup. It recreates an identical environment for everyone using the docker-compose.yml
config file. As for members of KK, this repository is mainly ment for development purposes. How the frontend and backend is actually is deployed is unfortunatley without docker, but theres nothing we can do about that currently due to our ISP...
Check out this video to learn more