Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Gitpodify ClassroomIO #57

Closed

Conversation

obakeng-develops
Copy link
Contributor

What does this PR do?

This PR aims to create a Gitpod setup to simplify contributing to the repo via the browser.

Fixes # (issue)

N/A

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Chore (refactoring code, technical debt, workflow improvements)
  • Enhancement (small improvements)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change adds a new database migration
  • This change requires a documentation update

How should this be tested?

To test this, you need to download the Gitpod Chrome Extension here and then run the workspace in your account.

Checklist

Required

  • Filled out the "How to test" section in this PR
  • Self-reviewed my own code
  • Commented on my code in hard-to-understand bits
  • Ran pnpm build
  • Checked for warnings, there are none
  • Removed all console.logs
  • Merged the latest changes from main onto my branch with git pull origin main
  • My changes don't cause any responsiveness issues

Appreciated

  • If a UI change was made: Added a screen recording or screenshots to this PR
  • Updated the ClassroomIO Docs if changes were necessary

Copy link

vercel bot commented Nov 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 1, 2023 8:02am

Copy link

vercel bot commented Nov 28, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @rotimi-best on Vercel.

@rotimi-best first needs to authorize it.

Copy link

github-actions bot commented Nov 28, 2023

Thank you for following the naming conventions for pull request titles! 🙏

@obakeng-develops
Copy link
Contributor Author

I'm about to test running it on Gitpod.

@obakeng-develops obakeng-develops marked this pull request as draft November 28, 2023 10:03
@obakeng-develops obakeng-develops changed the title Gitpodify ClassroomIO chore: Gitpodify ClassroomIO Nov 28, 2023
@obakeng-develops
Copy link
Contributor Author

Hey @rotimi-best, on running the workspace, everything seems to be fine except when starting Supabase I get the following error - "ERROR: constraint "buckets_owner_fkey" of relation "buckets" does not exist (SQLSTATE 42704)".

I know what the error is saying but I can't seem to find a way to fix this. Would you know what I could do here?

@rotimi-best
Copy link
Collaborator

Hey @rotimi-best, on running the workspace, everything seems to be fine except when starting Supabase I get the following error - "ERROR: constraint "buckets_owner_fkey" of relation "buckets" does not exist (SQLSTATE 42704)".

I know what the error is saying but I can't seem to find a way to fix this. Would you know what I could do here?

@obakeng-develops Bro you rock, thanks for working on this.

I think you need to just remove this line in the migration file

image

I can do that real quick and test it out

@rotimi-best
Copy link
Collaborator

rotimi-best commented Dec 1, 2023

@obakeng-develops I have gotten supabase start to run successfully.
image

However I think there are a couple of things left:

1. Setting ports and specifying the port that should open in the browser. This is an example from the gitpod setup of @formbricks

image

2. Copying the environment variables from env.example into .env for each project

3. One thing about environment variables here is getting the result of supabase start into .env of apps/dashboard. These are the variables specifically that we need:

   PUBLIC_SUPABASE_URL=<API URL>
   PUBLIC_SUPABASE_ANON_KEY=<anon key>
   PUBLIC_SUPABASE_BUCKET_URL=<Inbucket URL>

4. Updating the README.md with a one click setup, for example you can reference the README of formbricks

image

@rotimi-best
Copy link
Collaborator

🎉 🎉 🎉 🎉 The dashboard stack also work fine with the gitpod setup.

Great.

image

@rotimi-best rotimi-best mentioned this pull request Dec 9, 2023
17 tasks
@rotimi-best
Copy link
Collaborator

Closing this PR because it has been inactive by the original author for about 1 week.

I am taking over the PR in a different branch: #91

@rotimi-best rotimi-best closed this Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants