You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rust nightly is required, as rfcbot uses [Rocket](rocket.rs). If you use rustup, this version is managed for you by a `rust-toolchain` file at the repository root.
20
+
Rust nightly is required, as rfcbot uses [Rocket](rocket.rs). If you use rustup, this version is
21
+
managed for you by a `rust-toolchain` file at the repository root.
16
22
17
23
### Running locally
18
24
19
-
Install [Docker](https://docker.dom) and [docker-compose](https://docs.docker.com/compose) and ensure they're working.
25
+
Install [Docker](https://docker.dom) and [docker-compose](https://docs.docker.com/compose) and
26
+
ensure they're working.
20
27
21
-
Next, start development services and initialize the database:
22
-
23
-
```
24
-
cargo install diesel_cli
25
-
docker-compose up -d
26
-
./setup-db.sh
27
-
```
28
+
Next, start development services and initialize the database with `docker-compose up`.
28
29
29
-
After this you may need to run `docker-compose down`/`docker-compose up -d` for the server process to see the database updates.
30
+
Press `Ctrl+C` to exit the server process. The container build is not (yet?) aware of how to detect
31
+
changes to source files, so once you have made changes you will need to run `docker-compose build`
32
+
before running `docker-compose up` to see your changes take effect.
30
33
31
-
By default this stores your database files in `target/data/`, so any temporary changes you make to the database will be removed by a `cargo clean` and you'll need to run the above commands again.
34
+
By default this stores your database files in `target/data/`, so any temporary changes you make to
35
+
the database will be removed by a `cargo clean` and you'll need to run the above commands again.
32
36
33
37
### Database dumps
34
38
35
-
It can be useful to have a database with some existing data to start from. "Bootstrap" files are available at https://www.dropbox.com/sh/dl4pxj1d49ici1f/AAAzZQxWVqQzVk_zOksn0Rbya?dl=0.
39
+
It can be useful to have a database with some existing data to start from. "Bootstrap" files are
40
+
available at https://www.dropbox.com/sh/dl4pxj1d49ici1f/AAAzZQxWVqQzVk_zOksn0Rbya?dl=0.
36
41
37
42
Assuming that you download the most recent file in the above folder and name it `bootstrap.sql`:
Deployed to Heroku via TravisCI from the master branch. See (.travis.yml)[./travis.yml] for an up-to-date listing of the actions.
47
-
48
-
## Conduct
49
-
50
-
This project has a [Code of Conduct and moderation policy](https://github.com/rust-lang/rfcbot-rs/blob/master/CONDUCT.md) very similar to the Rust CoC.
51
+
Deployed to Heroku via TravisCI from the master branch. See [.travis.yml](./travis.yml) for an
52
+
up-to-date listing of the actions.
51
53
52
54
## License
53
55
54
-
This project is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-MIT and LICENSE-APACHE for details.
56
+
This project is distributed under the terms of both the MIT license and the Apache License
57
+
(Version 2.0). See LICENSE-MIT and LICENSE-APACHE for details.
0 commit comments