mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
style(docs): format via prettier
This commit is contained in:
@@ -21,9 +21,11 @@ The easiest way to run SharpbinV3 is using Docker Compose.
|
|||||||
|
|
||||||
1. Ensure Docker and Docker Compose are installed.
|
1. Ensure Docker and Docker Compose are installed.
|
||||||
2. Clone the repository.
|
2. Clone the repository.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/whoswhip/Sharpbin.git
|
git clone https://github.com/whoswhip/Sharpbin.git
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Run the following command in the root directory:
|
3. Run the following command in the root directory:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -40,7 +42,7 @@ You can configure the application using environment variables. When using Docker
|
|||||||
- `JwtSettings__Secret`: A secure string used for signing JWT tokens.
|
- `JwtSettings__Secret`: A secure string used for signing JWT tokens.
|
||||||
- `AuthSettings__CF_Turnstile_SecretKey`: Your Cloudflare Turnstile secret key.
|
- `AuthSettings__CF_Turnstile_SecretKey`: Your Cloudflare Turnstile secret key.
|
||||||
- `AuthSettings__CF_Turnstile_SiteKey`: Your Cloudflare Turnstile site key.
|
- `AuthSettings__CF_Turnstile_SiteKey`: Your Cloudflare Turnstile site key.
|
||||||
- `AuthSettings__Registration_Enabled`: Set to `true` by default, enables/disables registration.
|
- `AuthSettings__Registration_Enabled`: Set to `true` by default, enables/disables registration.
|
||||||
- `AuthSettings__First_User_Admin`: Gives the first user the admin role, it is recommended to disable this after use.
|
- `AuthSettings__First_User_Admin`: Gives the first user the admin role, it is recommended to disable this after use.
|
||||||
- `AuthSettings__Admins_Require_2FA`: Enforces Admins to have 2FA when trying to do certain actions.
|
- `AuthSettings__Admins_Require_2FA`: Enforces Admins to have 2FA when trying to do certain actions.
|
||||||
- `PasteSettings__MaxTitleLength`: Max title length in characters.
|
- `PasteSettings__MaxTitleLength`: Max title length in characters.
|
||||||
@@ -62,4 +64,4 @@ The frontend will be accessible at http://localhost:5173.
|
|||||||
## Project Structure
|
## Project Structure
|
||||||
|
|
||||||
- **[SharpbinV3.Server](SharpbinV3.Server/README.md)**: Backend API built with C# and ASP.NET Core. Refer to its README for server-side development and configuration.
|
- **[SharpbinV3.Server](SharpbinV3.Server/README.md)**: Backend API built with C# and ASP.NET Core. Refer to its README for server-side development and configuration.
|
||||||
- **[SharpbinV3.Client](SharpbinV3.Client/README.md)**: Frontend application built with SvelteKit and TypeScript. Refer to its README for client-side development and setup.
|
- **[SharpbinV3.Client](SharpbinV3.Client/README.md)**: Frontend application built with SvelteKit and TypeScript. Refer to its README for client-side development and setup.
|
||||||
|
|||||||
Reference in New Issue
Block a user