This repository is your group's place to store all files for the implementation phase of Project 1. The Analysis and Design artifacts are still stored on OneDrive, which you have worked with the past weeks.
You are free to restructure this repository to your liking, but make sure that you have a system and it's not chaotic!
If you are unsure, just use the template as given. Your repository is structured the following way:
./website
: here you can store the html or php files
./website/images
: this is the folder in which you store all your images
./website/styles
: this is the folder for your css files
You can create more folders if you need them! Separate images from music files, find a good place to store documentation that you may need, and so on!
⚠️ Docker should be installed, if not follow the instructions from https://docs.docker.com/get-docker/
- Copy or rename the
.env-example
file to.env
, make sure the leading 'dot' stays there.- Files starting with a
.
are automatically hidden on Linux/MacOS, make sure to show hidden files
- Files starting with a
- Only Linux and MacOS users, change the values of
UID
andGID
in the.env
file according to your system- To get the correct values, in the terminal type the following commands for
UID
andGID
respectively:id -u
id -g
- To get the correct values, in the terminal type the following commands for
- Open a terminal at the location where you cloned this repository
- Open a terminal and use
cd
to get to the correct location - Or right-click in finder/explorer and
Open in terminal
- Open a terminal and use
- To start the application type the following command:
docker-compose up -d
- It may take a while on the first start :)
- Open your favorite browser and go to http://127.0.0.1/ and it should show a page indicating that everything is working.
- To stop the docker container, run the following command:
docker-compose stop
- Now it is also possible to start/stop the container from Docker Desktop