b1ek f4dba961e6 | ||
---|---|---|
.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
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