This is probably a very dumb question. But I have a little project in Django and I would like to upload it to GitHub to just have it there. I know how GitHub works and I know how to upload the project. But I'm wondering if just uploading the whole folder is the right way to do it. I mean. I have a data base with my project, that has some information. So is the database JUST in my computer right? It won't get uploaded next to the project to github?
So basically I'm asking:
- Should I just simply upload the whole folder?
- And if I were to download my project from GitHub from another computer. Should I just have to run migrations to make it work locally?
settings.pyfile or elsewhere , you don't want those on github (like if your email user/password are there, or an api token for a third party site). Use something like Environs to remove them from your source code.