Compare commits

...

2 Commits

Author SHA1 Message Date
b1ek 9703fbb62d
add readme 2023-03-01 16:05:28 +10:00
b1ek d86fbe4d2a
add robots.txt 2023-03-01 16:05:11 +10:00
2 changed files with 23 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
```

4
public/robots.txt Normal file
View File

@ -0,0 +1,4 @@
User-Agent: *
Disallow: /admin/*
Disallow: /login
Disallow: /guestbook/submit