Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thiskai/actix-web-boilerplate
https://github.com/thiskai/actix-web-boilerplate
actix-web heroku rust
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thiskai/actix-web-boilerplate
- Owner: thisKai
- Created: 2020-03-27T13:52:07.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-09T19:37:43.000Z (almost 5 years ago)
- Last Synced: 2024-11-08T08:51:01.610Z (2 months ago)
- Topics: actix-web, heroku, rust
- Language: Rust
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Rust](https://www.rust-lang.org) web app template with [actix web 2.0](https://actix.rs)
## Usage
Use [cargo generate](https://github.com/ashleygwilliams/cargo-generate) to clone this template:
```bash
cargo generate --git https://github.com/thisKai/actix-web-boilerplate.git --name my-project
cd my-project
```## [Auto-Reloading Development Server](https://actix.rs/docs/autoreload/)
### Requirements
- [systemfd](https://crates.io/crates/systemfd)
- [cargo-watch](https://crates.io/crates/cargo-watch)```bash
cargo install systemfd cargo-watch
```To run the development server:
```bash
cargo xtask dev
```## Heroku
This template works with the [emk/rust](https://github.com/emk/heroku-buildpack-rust) buildpack:
```bash
heroku create --buildpack emk/rust
```