diff --git a/README.md b/README.md index 035af8d..9729e39 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,21 @@ # homepage.js This is a rewrite of my current website to Express.JS. + +# Running an instance + +### Debug +```bash +cp .env.example .env +APP_DEBUG=true sudo ./install +docker-compose up -d +``` + +### Production +Note: production instance is not production-ready yet, as it is still in development mode. + +```bash +cp .env.example .env +echo "APP_DEBUG=false" >> .env # Or edit the file yourself +sudo ./install +docker-compose up -d +``` \ No newline at end of file