2023-02-19 10:54:30 +01:00
|
|
|
# homepage.js
|
|
|
|
This is a rewrite of my current website to Express.JS.
|
2023-03-01 07:05:28 +01:00
|
|
|
|
|
|
|
# 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
|
|
|
|
```
|