add readme

This commit is contained in:
b1ek 2023-03-01 16:05:28 +10:00
parent d86fbe4d2a
commit 9703fbb62d
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 19 additions and 0 deletions

View File

@ -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
```