Open kriptonian1 opened 2 weeks ago
/attempt
Assigned the issue to @Nirajan1-droid!
Hey @Nirajan1-droid this issue is dependent on PR #313 so let this me merged then you can start working on this 🙌
ok let me know after it is merged
@Nirajan1-droid Moving this to FOSS Hack. Hope you are comfortable with that?
absolutely
Great! Okay, #313 is merged. You can begin your work.
would you please help me to resolve this error:
after deploying the migrations the schemas are not listed in db:
also there is "Error while checking if bucket exists in Minio"
Buddy it looks like you are not reading the setup doc, if you do then you won't have all these issues
i followed docs>contributing-to-keyshade>setting-things-up.md :'|
On Wed, Jul 10, 2024, 11:07 AM Sawan Bhattacharya @.***> wrote:
Buddy it looks like you are not reading the setup doc, if you do then you won't have all these issues
— Reply to this email directly, view it on GitHub https://github.com/keyshade-xyz/keyshade/issues/322#issuecomment-2219585686, or unsubscribe https://github.com/notifications/unsubscribe-auth/APUMBH3THONL6IE5W525YJTZLTAI3AVCNFSM6AAAAABKOLWDHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJZGU4DKNRYGY . You are receiving this because you were mentioned.Message ID: @.***>
Bro read the other part too, there i part called setting things locally
Howdy @Nirajan1-droid!
There is an issue with name resolution since prisma is including the quotes in the names while creating the schemas, so its a bit tricky at first to check them out. Ideally, they should reside like this -> public."SchemaName"
(including the quotes)
As for the Minio error in the console, you can ignore that since we are not yet using buckets.
Hope that solves it!
Would you please send me the video to set it up correctly? I have wasted hours and hours on it, and still, the Postgres database does not have any tables in it.
Hey @Nirajan1-droid, you would have to use the following commands once you have connected to the database:
\l
keyshade_db
in the context using \c keyshade_db
\dt
Hope these steps help. Do let us know if you run into any further trouble.
@rajdip-b @kriptonian1 i am still facing this migration related issue.
is api working correctly as "Error while checking if bucket exists in Minio"?:
platform is working though:
but even after the migration being pushed, there are no relations in the docker postgres container:
i checked it serveral times.
also the api server cannot be connected :
this was the .env file: DATABASE_URL=postgresql://postgres:password@127.0.0.1:5432/keyshade_db ADMIN_EMAIL=your@email.com
REDIS_URL=redis://127.0.0.1:6379
GITHUB_CLIENT_ID= GITHUB_CLIENT_SECRET= GITHUB_CALLBACK_URL=
API_PORT=
GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= GOOGLE_CALLBACK_URL=
GITLAB_CLIENT_ID= GITLAB_CLIENT_SECRET= GITLAB_CALLBACK_URL=
SENTRY_DSN= SENTRY_ORG= SENTRY_PROJECT= SENTRY_TRACES_SAMPLE_RATE= SENTRY_PROFILES_SAMPLE_RATE= SENTRY_ENV=
SMTP_HOST= SMTP_PORT= SMTP_EMAIL_ADDRESS=nirajanolass@gmail.com SMTP_PASSWORD=**** FROM_EMAIL="your-name your-name@email.com"
MINIO_ENDPOINT='localhost'
MINIO_PORT=9000
MINIO_ACCESS_KEY=
JWT_SECRET=secret
WEB_FRONTEND_URL=http://localhost:3000 PLATFORM_FRONTEND_URL=http://localhost:3100 PLATFORM_OAUTH_SUCCESS_REDIRECT_PATH=/oauth/signin PLATFORM_OAUTH_FAILURE_REDIRECT_PATH=/oauth/failure
DOMAIN=localhost FEEDBACK_FORWARD_EMAIL=nirajanbhattarai12345@gmail.com
BACKEND_URL=http://localhost:4200
containers are working well:
ps: you can unassign me this issue if it is hectic and time consuming for you guys. i don't want to waste your time.
docker compose down
. Then, run pnpm db:deploy-migrations
. This should throw an error stating that it couldn't connect to the database. If that is not the case, then there is some other postgres database running on your device.P.S. This issue isn't on the top priorities, so you can take your time in this.
@rajdip-b
i got help from one brother and fixed that postgres error.
now that migration worked.
but why it is requesting port 3025 while login?
Yeah, this one is a shortcoming from our end. Just add NEXT_PUBLIC_BACKEND_URL=http://localhost:4200
to your .env
file
@rajdip-b
yes i did same:
but i am having 401 unauthorized code.
although the backend is running correctly:
also database have that email:
@rajdip-b
i resolved that login error and otp issues.
now when i want to add project, i am having this error:
what is this error?
Ignore that, that feature is not complete
@rajdip-b i resolved that login error and otp issues. now when i want to add project, i am having this error:
what is this error?
I'm unaware about the progress of the platform app. If you are facing some difficulties in creating a project from the UI, you can use the postman collection aswell.
@rajdip-b
postman link doesnot works which was provided in docs:
Description
Add a skeleton loader in secret page for the time the data is loading from the server.
this issue is dependent on the merge of PR #313