mirror of
https://github.com/actix/examples
synced 2024-11-27 16:02:57 +01:00
temp remove diesel ci
This commit is contained in:
parent
c73efc7057
commit
09e3318ebf
12
.github/workflows/linux.yml
vendored
12
.github/workflows/linux.yml
vendored
@ -58,12 +58,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
redis-version: 6
|
redis-version: 6
|
||||||
|
|
||||||
- name: run diesel migrations
|
# - name: run diesel migrations
|
||||||
run: |
|
# run: |
|
||||||
cargo install diesel_cli
|
# cargo install diesel_cli --no-default-features --features sqlite
|
||||||
cd databases/diesel
|
# cd databases/diesel
|
||||||
diesel migration run
|
# diesel migration run
|
||||||
chmod a+rwx test.db
|
# chmod a+rwx test.db
|
||||||
|
|
||||||
- name: cargo test
|
- name: cargo test
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
@ -23,7 +23,7 @@ brew install sqlite3
|
|||||||
### Initialize SQLite Database
|
### Initialize SQLite Database
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd examples/diesel
|
cd databases/diesel
|
||||||
cargo install diesel_cli --no-default-features --features sqlite
|
cargo install diesel_cli --no-default-features --features sqlite
|
||||||
|
|
||||||
echo "DATABASE_URL=test.db" > .env
|
echo "DATABASE_URL=test.db" > .env
|
||||||
@ -35,7 +35,7 @@ There will now be a database file at `./test.db`.
|
|||||||
### Running Server
|
### Running Server
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd examples/diesel
|
cd databases/diesel
|
||||||
cargo run (or ``cargo watch -x run``)
|
cargo run (or ``cargo watch -x run``)
|
||||||
|
|
||||||
# Started http server: 127.0.0.1:8080
|
# Started http server: 127.0.0.1:8080
|
||||||
|
Loading…
Reference in New Issue
Block a user