b1ek 9c0bfe1f42 | ||
---|---|---|
.vscode | ||
config | ||
data | ||
docs | ||
helpers | ||
middleware | ||
migrations | ||
models | ||
public | ||
react | ||
routes | ||
scripts | ||
store | ||
test | ||
view | ||
.env.example | ||
.gitignore | ||
Dockerfile.dev | ||
Dockerfile.prod | ||
LICENSE.md | ||
README.md | ||
dev.sh | ||
docker-compose.dev | ||
docker-compose.prod | ||
gulpfile.js | ||
index.js | ||
install | ||
nodemon.json | ||
package.json | ||
prod.sh | ||
startup.js |
README.md
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
APP_DEBUG=true sudo ./install
docker-compose up -d
Production
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
.
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