Pre works
After you have finished your editing now it's the time to deploy your application. But there are some things that needs to be done before.
Initialize git
Initial git inside your project.
git init
Then add all files and commit changed
git add .
git commit -m "Initial Release or anyting you want"
Setup Github
You need to create a account on github.com and login to that account. Then create a new repository. You must make the repository private.
danger
You must not make the repository public. Your repository must be private. Or else your application can be easily hacked or your OpenAI's API key will be compromised and may cause you unnecessary bills and law problems.
Add remote git origin
Once you are done creating a private repository. Add it in your project and push it to the github.
git remote add origin your_git_url_here
git branch -M main
git push -u origin main
Now let's deploy