use middleware on requests, add badges, add set admin script+docs for it
This commit is contained in:
parent
b399af74e4
commit
85f9414fa7
3 changed files with 70 additions and 2 deletions
17
README.md
17
README.md
|
@ -1,5 +1,10 @@
|
|||
# pontus-front
|
||||
|
||||
[](https://nextjs.org)
|
||||
[](https://ui.shadcn.com)
|
||||
[](https://orm.drizzle.team)
|
||||
[](https://docker.com)
|
||||
|
||||
The source code for the p0ntus web frontend.
|
||||
|
||||
## Introduction
|
||||
|
@ -98,6 +103,12 @@ If you use a reverse proxy, don't forget to comment the ports section out like s
|
|||
...
|
||||
```
|
||||
|
||||
To set yourself as an admin, you can run:
|
||||
|
||||
```bash
|
||||
bun tools/set-admin.ts your@email.com
|
||||
```
|
||||
|
||||
## Setup for Development
|
||||
|
||||
### What you need
|
||||
|
@ -161,6 +172,12 @@ At any time, you can also run `docker compose up -d --build` to test in Docker.
|
|||
|
||||
Now, open up http://localhost:3000 and see how it goes! Leave an Issue if you encounter any challenges or issues along the way.
|
||||
|
||||
To set yourself as an admin, you can run:
|
||||
|
||||
```bash
|
||||
bun tools/set-admin.ts your@email.com
|
||||
```
|
||||
|
||||
## Updating
|
||||
|
||||
Updates are done through Forgejo (and mirrored GitHub). You can perform an update when there are new commits like so:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue