Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 812 Bytes

README.md

File metadata and controls

41 lines (31 loc) · 812 Bytes

Sources of saksmt.dev

Build

With nix

$ nix-shell
[shell] $ build-prod

Manually

Prerequisites

  • npm
  • sbt
  • automake (for dependencies)

Commands

$ sbt buildProd
$ docker build -t blog-frontend frontend

Directory layout

 - /backend - backend scala sources
 - /shared - scala sources shared between frontend and backend
 - /frontend - frontend sources
    - /src/main/scala - scalajs sources
    - /src/main/js - js sources
    - /src/main/scss - styles
    - /src/main/html - base template | init page
    - /src/main/nginx - frontend static handler nginx config
    - /Dockerfile - docker image for frontend with static handler 

Deployment

See saksmt.dev-server-cluster