A static website to record my side projects
Install the dependencies
npm install
Run the dev server (http://localhost:8080)
make dev
Build dist directory
make build
Resize all related data images
make resize
Clear all generated files and directories
make clean
Edit the deploy file
cp deploy.sftp.js.example deploy.sftp.js
vim deploy.sftp.js
Run the commands
make deploy
Add the following code to domain configuration
location / {
try_files $uri $uri/ /index.html =404;
}