b1ek 8f99dbfcc3 | ||
---|---|---|
.vscode | ||
config | ||
data | ||
docs | ||
helpers | ||
middleware | ||
migrations | ||
models | ||
public | ||
react/resume | ||
routes | ||
scripts | ||
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 | ||
vinicius |
README.md
homepage.js
This is a rewrite of my current website to Express.JS.
Git repo | Demo (may or may not work)
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
Install node modules in following directories: .
, ./scripts
Then, cd to root and run node scripts/generate_key.js