homepage.js/README.md

1.0 KiB

homepage.js

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

Warning: This branch is experimental

This branch is untested and unstable, and probably won't work in production.

Please don't use it for other purposes that development.

Running an instance

First, generate the app key.

Debug

cp .env.example .env
./dev.sh # this will do most of the work
docker-compose up -d

Production

cp .env.example .env
echo "APP_DEBUG=false" >> .env # Or edit the file yourself
./prod.sh # this will do most of the work
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.

Note: Generally, the app will build the resume by itself, although there is some exceptions.

Generate the key

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