The frontend for https://rusthub.org, a Web Application Server built on Rust Web Stacks: tide, async-std, fluent, graphql_client, surf, rhai, handlebars, lettre ...
git clone https://github.com/rusthub-org/rusthub.org
cd ./frontend
Rename file .env.example
to .env
, or put the environment variables into a .env
file:
DOMAIN=rusthub.org
ADDR=127.0.0.1
PORT=7200
LOG_LEVEL=Debug
GQL_PROT=http
GQL_ADDR=127.0.0.1
GQL_PORT=8200
GQL_URI=gql
GQL_VER=v1
GIQL_VER=v1i
EMAIL_SMTP=<smtp.server>
EMAIL_FROM=<email_account>
EMAIL_USERNAME=<username>
EMAIL_PASSWORD=<password>
Create a directory for uploading files
mkdir -p ./files/creations
Then, build & run:
cargo build
cargo run # or cargo watch -x run
WebUI: connect to http://127.0.0.1:7200 with browser.