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

Suggestion on how to deploy #4

Open
psycho-baller opened this issue Sep 19, 2023 · 0 comments
Open

Suggestion on how to deploy #4

psycho-baller opened this issue Sep 19, 2023 · 0 comments

Comments

@psycho-baller
Copy link

Hey there! I also was a hacker in HTN 2023 :)

I was looking at the Cohere winners and saw yr project. I love yr idea and would love to see it work with my university (UCalgary) so I hope you guys continue to work on it

So the reason I am making this issue is to give you an idea on how to deploy this easily. At this moment you will need 2 different servers, one for flask and one for React. But if you use NextJS, you will be able to use one server. I've personally tried it and used it in one of my side projects and it works! You can find the official NextJS template here. I also made one where you will be able to have both a TS and a python backend because needed that for my project. You can find that template here

One thing to keep in mind is that these examples/templates are using FastAPI and not flask. I'd recommend using FastAPI but if you still wanna use Flask you can use this template instead

P.S: this might only be possible with Vercel as a hosting platform, not sure

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

No branches or pull requests

1 participant