My website rewrite in Express.js
Go to file
b1ek bc5c8ccfcc
configure this to run behind nginx
2023-06-06 14:09:40 +10:00
.vscode base 2023-02-13 11:16:46 +10:00
config configure this to run behind nginx 2023-06-06 14:09:40 +10:00
data remove data & add gitignore 2023-03-12 02:23:27 +10:00
docs add accounts docs 2023-02-23 16:54:26 +10:00
helpers ban tor in guestbook 2023-04-20 16:40:47 +10:00
middleware add browser detection 2023-03-19 19:18:34 +10:00
migrations remove in second migration 2023-02-23 16:44:39 +10:00
models fix 500 on project/* 2023-03-17 20:53:27 +10:00
public add powered by text to logo 2023-03-24 11:55:33 +10:00
react remove resume 2023-03-19 13:00:26 +10:00
routes change guestbook error displaying method 2023-06-06 11:25:43 +10:00
scripts fix keys(again) 2023-03-19 19:18:14 +10:00
store ban tor in guestbook 2023-04-20 16:40:47 +10:00
test change app key length to 32 bytes 2023-02-19 01:29:32 +10:00
view add powered by text to logo 2023-03-24 11:55:33 +10:00
.env.example ban tor in guestbook 2023-04-20 16:40:47 +10:00
.gitignore ignore temporary files 2023-03-11 11:46:51 +10:00
Dockerfile.dev strip down useless and time consuming commands 2023-03-26 12:53:02 +10:00
Dockerfile.prod strip down useless and time consuming commands 2023-03-26 12:53:02 +10:00
LICENSE.md add license 2023-03-04 10:31:26 +10:00
README.md replace demo with link to site 2023-03-17 22:34:51 +10:00
dev.sh check if build was successful in scripts 2023-04-20 15:59:48 +10:00
docker-compose.dev configure this to run behind nginx 2023-06-06 14:09:40 +10:00
docker-compose.prod configure this to run behind nginx 2023-06-06 14:09:40 +10:00
gulpfile.js add adminer and guestbook delete 2023-02-20 12:43:53 +10:00
index.js configure this to run behind nginx 2023-06-06 14:09:40 +10:00
install change dev packages 2023-03-19 16:33:33 +10:00
nodemon.json base 2023-02-13 11:16:46 +10:00
package.json ban tor in guestbook 2023-04-20 16:40:47 +10:00
prod.sh check if build was successful in scripts 2023-04-20 15:59:48 +10:00
startup.js dont execute any commands on startup 2023-03-26 12:52:14 +10:00

README.md

homepage.js

This is a rewrite of my current website to Express.JS.
Git repo | Website

Running an instance

First, generate the app key.

Debug

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.

cp .env.example .env
echo "APP_DEBUG=false" >> .env # Or edit the file yourself
sudo ./install
docker-compose up -d

Also dont forget to build the resume app

Build the resume

cd to react/resume and run build.sh.
If you are running in debug mode, run yarn/npm start

Generate the key

Cd to root of project and run scripts/generate_key.py