Skip to content

jaemk/org_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Org Demo

Build Status

Note, fully compiled and packaged releases are available for 64bit linux and osx. See releases

Building

Note, no building is required if you've downloaded a packaged release

Backend

  • Install rust
  • Run cargo build --release

Or use the build script to generate statically linked binaries (requires docker to be installed)

./build.py server

Frontend

Use the build script to build the react frontend and copy files into place (requires yarn to be installed)

./build.py web

Running

Note, the server must be run from the root of the org_demo project directory so static files can be found

# setup database and run migrations
bin/org_demo database migrate

# start the server
# see `org_demo serve --help`
bin/org_demo serve

# Or if you built from source
cargo run -- database migrate
cargo run -- serve