Compare commits
2 Commits
ecff523926
...
9703fbb62d
Author | SHA1 | Date |
---|---|---|
b1ek | 9703fbb62d | |
b1ek | d86fbe4d2a |
19
README.md
19
README.md
|
@ -1,2 +1,21 @@
|
||||||
# homepage.js
|
# homepage.js
|
||||||
This is a rewrite of my current website to Express.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
|
||||||
|
```
|
|
@ -0,0 +1,4 @@
|
||||||
|
User-Agent: *
|
||||||
|
Disallow: /admin/*
|
||||||
|
Disallow: /login
|
||||||
|
Disallow: /guestbook/submit
|
Loading…
Reference in New Issue