Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 827 Bytes

README.md

File metadata and controls

74 lines (49 loc) · 827 Bytes

WhatAmonth

My homepage app

Deploy command sequence

npm run build
npm run save
ansible-playbook ansible/push.yaml -i ansible/inventory.yaml

Or just

npm run pub

Bazel static build

Pretter

Run this command to fix code style

bazel run //assets/js:prettier

Build static

bazel build //assets/css

Run rust server

This command will run a http server on port 8080

bazel run //server:server

Run code formater

Formatter for backend

cd server && cargo fmt

Formatter for frontend

bazel run //assets/js:prettier

Run npm comands in bazel

 bazel run @nodejs_host//:npm -- version

Build docker container

npm run build
npm run save

Run docker container

npm start