With git installed
git clone [email protected]:Threestup/website.gitFor this project we are using PHP 7.0.
You can install the dependencies by yourself, but this rule is trigger by make start.
Go to the root of this folder then :
make depsInstall the PHP dependencies then build the css file, and start a php server.
make startBuild the production css file
make compile-sassA Dockerfile and docker-compose.yml are available
docker-compose upand fire away
That's it, have fun!
Run
docker build --platform linux/amd64 -t threestup/website:latest .Make sure you are logged into docker hub with a user that has access to threestup.
docker push threestup/website:latestAfter it updated on docker hub, go to the server (VPS currently):
cd vps/threestup
sudo docker pull threestup/website
sudo docker-compose up -d