Compare commits
5 Commits
v0.5.0
...
98f77b40c6
Author | SHA1 | Date | |
---|---|---|---|
98f77b40c6
|
|||
03a63833e0
|
|||
be053ac0dc
|
|||
d4ec3c5d1c
|
|||
50f517140e
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -749,7 +749,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "icarus_auth"
|
name = "icarus_auth"
|
||||||
version = "0.5.0"
|
version = "0.4.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"argon2",
|
"argon2",
|
||||||
"axum",
|
"axum",
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "icarus_auth"
|
name = "icarus_auth"
|
||||||
version = "0.5.0"
|
version = "0.4.4"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.88"
|
rust-version = "1.88"
|
||||||
|
|
||||||
|
12
README.md
12
README.md
@@ -1,12 +1,9 @@
|
|||||||
A auth web API services for the Icarus project.
|
|
||||||
|
|
||||||
|
|
||||||
# Getting Started
|
# Getting Started
|
||||||
The easiest way to get started is through docker. This assumes that docker is already installed
|
Copy the `.env.sample` file to `.env` and ensure that the variables are populated. This project
|
||||||
on your system. Copy the `.env.docker.sample` as `.env`. Most of the data in the env file doesn't
|
can be used with regular hosting or with docker. For the sake of getting up to speed quickly,
|
||||||
need to be modified. The `SECRET_KEY` variable should be changed since it will be used for token
|
Docker will be covered. Make sure docker is running and your ssh identity has been loaded.
|
||||||
generation. The `SECRET_PASSPHASE` should also be changed when in production mode, but make sure
|
|
||||||
the respective `passphrase` database table record exists.
|
|
||||||
|
|
||||||
Build image
|
Build image
|
||||||
```
|
```
|
||||||
@@ -27,6 +24,3 @@ Pruning
|
|||||||
```
|
```
|
||||||
docker system prune -a
|
docker system prune -a
|
||||||
```
|
```
|
||||||
|
|
||||||
To view the OpenAPI spec, run the project and access `/swagger-ui`. If running through docker,
|
|
||||||
the url would be something like `http://localhost:8000/swagger-ui`.
|
|
||||||
|
Reference in New Issue
Block a user