Development
Prerequisites
App
Install dependencies:
npm install
Compile CSS:
npm run styles:watch
Run Shadow CLJS:
npm run app:watch
Server
Run REPL with the dev
alias:
clj -A:dev
Start server on port 8080:
(go)
Production
App
Install dependencies:
npm install
Compile & bundle app:
npm run app:release
Compile CSS:
npm run styles:release
Server
bin/run
Create a Linux systemd
Service
- Copy:
deployment/convex_web.service
to/etc/systemd/system/convex_web.service
; - Enable:
sudo systemctl enable convex_web
- Start:
sudo systemctlm start convex_web