aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-10 15:19:44 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-10 15:19:44 +0200
commit10b3093eb7e9c9ff2c1827723bade000ffb82577 (patch)
tree42a3eb7665e1f78e5ab0932c45acb5b1b1b48fe5
parent4462a2f53d5153d97691af72ed7a52f401ab6ef7 (diff)
downloadFlightCore-10b3093eb7e9c9ff2c1827723bade000ffb82577.tar.gz
FlightCore-10b3093eb7e9c9ff2c1827723bade000ffb82577.zip
Remove old readme
-rw-r--r--README.md47
1 files changed, 2 insertions, 45 deletions
diff --git a/README.md b/README.md
index f22fe560..210f272b 100644
--- a/README.md
+++ b/README.md
@@ -99,49 +99,6 @@ Note that you can adjust the behaviour of Tauri windows in `tauri.conf.json`, e.
Release builds are generally done via CI. To build locally, make sure typescript is compiled (`./node_modules/.bin/rollup --config`), then run `npm run tauri build`.
-# Old README (to be removed)
+## Additional info
-
-Source code for the [Rust Tauri Introduction Video](https://www.youtube.com/watch?v=kRoGYgAuZQE&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q)
-
-## Setup
-
-```sh
-npm install
-```
-
-## Run
-
-```sh
-# terminal 1 (UI localhost for hot-reload)
-npm run ui-dev
-
-# terminal 2 (for the Rust/App hot-reload)
-npm run tauri dev
-```
-
-## Database Pool as state
-
-Rather to have a simple Mutex for the state, database can be used.
-
-```
-sqlx = { version = "0.6", features = [ "runtime-tokio-rustls", "postgres" ] }
-```
-
-```rs
-let con_string = format!("postgres://postgres:postgres@localhost/postgres");
-let db = PgPoolOptions::new()
- .max_connections(5)
- .connect(&con_string)
- .await
- .expect("Cannot create PgPool");
-
-let arc_db = Arc::new(db);
-```
-
-Then
-
-```rs
-tauri::Builder::default()
- .manage(arc_db)
-```
+Based on source code for the [Rust Tauri Introduction Video](https://www.youtube.com/watch?v=kRoGYgAuZQE&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q)