Compare commits
No commits in common. "f4aef5e3abd379cefdbca8c1366f6a08056ff0b3" and "2e9856eee59a4976a973e757f89972a51f7c6fef" have entirely different histories.
f4aef5e3ab
...
2e9856eee5
2 changed files with 7 additions and 1 deletions
|
@ -31,8 +31,13 @@ run `sqlx database setup`
|
||||||
|
|
||||||
then finally run the server with `cargo run`
|
then finally run the server with `cargo run`
|
||||||
|
|
||||||
|
## CLI tools
|
||||||
|
|
||||||
|
add `--help` or `-h` when calling the binary for special tools, such as patching executables.
|
||||||
|
|
||||||
## todo
|
## todo
|
||||||
|
|
||||||
|
- add get levels search back (find how to easily do dynamic queries)
|
||||||
- user icons in account management pages
|
- user icons in account management pages
|
||||||
- account settings page
|
- account settings page
|
||||||
- better web design (make formatting more consistant)
|
- better web design (make formatting more consistant)
|
||||||
|
|
|
@ -25,10 +25,11 @@ async fn files(file: PathBuf) -> Option<NamedFile> {
|
||||||
|
|
||||||
#[launch]
|
#[launch]
|
||||||
async fn rocket() -> _ {
|
async fn rocket() -> _ {
|
||||||
// initiate database stuff
|
// init stuff
|
||||||
crate::helpers::reupload::init().await;
|
crate::helpers::reupload::init().await;
|
||||||
|
|
||||||
// data directories
|
// data directories
|
||||||
|
// unhardcore this maybe?
|
||||||
fs::create_dir_all(config::config_get_with_default("db.data_folder", "data".to_string())).expect("failed to create data directory!");
|
fs::create_dir_all(config::config_get_with_default("db.data_folder", "data".to_string())).expect("failed to create data directory!");
|
||||||
fs::create_dir_all(format!("{}/levels", config::config_get_with_default("db.data_folder", "data".to_string()))).expect("failed to create data directory for levels");
|
fs::create_dir_all(format!("{}/levels", config::config_get_with_default("db.data_folder", "data".to_string()))).expect("failed to create data directory for levels");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue