Skip to content

Threestup/website

Repository files navigation

Getting started

Clone the repo

With git installed

git clone [email protected]:Threestup/website.git

Install PHP

For this project we are using PHP 7.0.

Install dependencies (optional)

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

Run the server

Install the PHP dependencies then build the css file, and start a php server.

make start

Production

Build the production css file

make compile-sass

Docker

A Dockerfile and docker-compose.yml are available

docker-compose upand fire away

That's it, have fun!

Deploy

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published