https://github.com/pyzh/ruster
Online community in Rust for community.
https://github.com/pyzh/ruster
Last synced: 5 months ago
JSON representation
Online community in Rust for community.
- Host: GitHub
- URL: https://github.com/pyzh/ruster
- Owner: pyzh
- License: gpl-3.0
- Created: 2018-11-04T09:39:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-01T14:06:29.000Z (over 7 years ago)
- Last Synced: 2025-01-22T01:36:42.473Z (over 1 year ago)
- Language: Vue
- Homepage: http://ruster.xyz/
- Size: 605 KB
- Stars: 1
- Watchers: 3
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Ruster](http://ruster.xyz/) [](https://travis-ci.org/rustlang-cn/ruster)
online community in rust for rust community
Ruster is single page webapp written in [actix-web](https://github.com/actix/actix-web) with vuejs.
- Async stable Actix-web framework
- diesel, postgresql r2d2
- SPA CORS JWT
- Vuejs
## How To
first create a name 'ruster' postgresql database for this project.
## when development/开发
```bash
$ git clone https://github.com/rustlang-cn/ruster.git
$ cd ruster
$ cargo install diesel_cli --no-default-features --features postgres
$ diesel setup
$ cargo run
// another shell nodejs(v10.1.0 on my machine)
$ cd ruster/webapp
$ npm install
$ npm run serve
```
then open browser 'http://localhost:8080'
## when production/生产
```bash
$ git clone https://github.com/rustlang-cn/ruster.git
$ cd ruster
$ cargo install diesel_cli --no-default-features --features postgres
$ diesel setup
$ cd webapp
$ npm install
$ npm run build
$ cd ..
$ cargo run --release
```
then open broswer 'http://localhost:8000/'
## Screen

## Support Ruster/支持Ruster
Ruster is community project for community, It's need money for Cloud server to support the [Ruster](http://ruster.xyz/). If you want let the project have a bright future and can help the project, please gave your hand thanks. at this moment you can contact [krircc](https://github.com/krircc) or krircc@aliyun.com
## License
License is [here](https://github.com/rustlang-cn/ruster/blob/master/LICENSE)
Copyright (c) 2018-present, Xiangfei Wang