add readme
This commit is contained in:
parent
d86fbe4d2a
commit
9703fbb62d
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
|
||||||
|
```
|
Loading…
Reference in New Issue