https://github.com/jaemk/org_demo
https://github.com/jaemk/org_demo
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jaemk/org_demo
- Owner: jaemk
- Created: 2018-02-14T01:50:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-14T23:01:03.000Z (about 7 years ago)
- Last Synced: 2025-01-20T00:47:44.364Z (4 months ago)
- Language: Rust
- Size: 187 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Org Demo
[](https://travis-ci.org/jaemk/org_demo)Note, fully compiled and packaged releases are available for 64bit linux and osx.
See [`releases`](https://github.com/jaemk/org_demo/releases)## Building
> Note, no building is required if you've downloaded a packaged release
**Backend**
- Install [`rust`](https://rustup.rs/)
- Run `cargo build --release`Or use the build script to generate statically linked binaries (requires `docker` to be installed)
```bash
./build.py server
```**Frontend**
Use the build script to build the react frontend and copy files into place (requires `yarn` to be installed)
```bash
./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
```bash
# 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
```