With git installed
git clone [email protected]:Threestup/website.git
For 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 deps
Install the PHP dependencies then build the css file, and start a php server.
make start
Build the production css file
make compile-sass
A Dockerfile
and docker-compose.yml
are available
docker-compose up
and 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:latest
After it updated on docker hub, go to the server (VPS currently):
cd vps/threestup
sudo docker pull threestup/website
sudo docker-compose up -d