Forum for Rust Community, developed in Rust, with Sapper.
Now works on Rust.cc
cargo install diesel_cli
;diesel setup
;cargo build
;docs/template_nginx.conf
discribes, and start nginx;cargo run --bin forustm_web
;cargo run --bin forustm_api
;http://localhost
;admin@admin.com
(default password is admin
, you can modify it after logined);http://localhost/admin/section
to create new sections;psql
to find the ids(uuids) of new sections in pg;redis-cli
, connected to redis, select 1
, and rpush cate_sections {uuid}
, repeat it;rpush proj_sections {uuid}
, repeat it;select 1
;hset pub_notice
title xxxxxxxxxx`;hset pub_notice desc xxxxxxxxxxxxxxxxxxxxx
;Now, visit http://localhost
again. That's all.
Good lucky!