mirror of
https://github.com/D4M13N-D3V/neroshitron.git
synced 2025-03-14 10:05:04 +00:00
chore :readme default env
This commit is contained in:
parent
97eba7457d
commit
70ea1d8a9c
@ -1,3 +1,3 @@
|
||||
NEXT_APPWRITE_KEY=<API_KEY>
|
||||
NEXT_PUBLIC_APPWRITE_ENDPOINT=http://localhost/v1
|
||||
NEXT_PUBLIC_APPWRITE_PROJECT=<PROJECT_ID>
|
||||
NEXT_PUBLIC_SUPABASE_URL=http://127.0.0.1:54323
|
||||
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GE
|
||||
NEXT_PUBLIC_
|
5
.env
5
.env
@ -1,3 +1,2 @@
|
||||
NEXT_PUBLIC_SUPABASE_URL=http://localhost:8000
|
||||
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GE
|
||||
NEXT_PUBLIC_
|
||||
NEXT_PUBLIC_SUPABASE_URL=http://127.0.0.1:54323
|
||||
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
|
@ -7,7 +7,6 @@
|
||||
- https://nextjs.org/docs
|
||||
- https://supabase.com/docs/
|
||||
- https://owncast.online/docs/
|
||||
- https://github.com/maildev/maildev
|
||||
- https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
|
||||
- https://docs.docker.com/engine/install/
|
||||
|
||||
@ -20,7 +19,7 @@ You will need supabase CLI.
|
||||
|
||||
1) Open your terminal and navigate to the root of the git repository.
|
||||
2) Make sure that docker and docker compose are installed.
|
||||
3) Run `docker-compose --env-file ./docker.env up` which will start up OwnCast and a development mail server.
|
||||
3) Run `docker-compose --env-file ./docker.env up` which will start up OwnCast.
|
||||
4) Run `supabase start`
|
||||
|
||||
## Supabase
|
||||
@ -29,8 +28,8 @@ You will need supabase CLI.
|
||||
Run `supabase db reset`. This will wipe data.
|
||||
https://supabase.com/docs/guides/cli/local-development?queryGroups=access-method&access-method=kong#database-migrations
|
||||
|
||||
## MailDev
|
||||
http://localhost:1080
|
||||
## inbucket
|
||||
http://localhost:54324/monitor
|
||||
This is where all mail being sent shows up from the application for developers.
|
||||
|
||||
## OwnCast
|
||||
|
@ -25,12 +25,13 @@ export default async function Login({
|
||||
const password = formData.get("password") as string;
|
||||
const supabase = createClient();
|
||||
|
||||
const { error } = await supabase.auth.signInWithPassword({
|
||||
const { data:data, error } = await supabase.auth.signInWithPassword({
|
||||
email,
|
||||
password,
|
||||
});
|
||||
|
||||
if (error) {
|
||||
console.log(data);
|
||||
return redirect("/login?message=Could not authenticate user");
|
||||
}
|
||||
|
||||
|
@ -21,15 +21,6 @@ services:
|
||||
- 1935:1935
|
||||
volumes:
|
||||
- ./data:/owncast/data
|
||||
|
||||
maildev:
|
||||
image: maildev/maildev:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 1080:1080
|
||||
- 1025:1025
|
||||
volumes:
|
||||
- ./data:/maildev/data
|
||||
|
||||
volumes:
|
||||
db-config:
|
||||
|
Loading…
x
Reference in New Issue
Block a user