I am a junior software engineer and am quite new to Django. I built this app and am working on a README to explain to others how to fork, clone and setup the app on their own machines. I've gotten stuck while trying to re-create the steps.
This is the order in which I've drawn up the steps:
- Fork and clone the repo
- Source a virtual environment
- Pip install requirements.txt
- Obtain access_token and secret_key and store in secrets.sh
- Setup a Postgres DB, create user & database
- Migrate (?) - This is where I get stuck!
I tried migrating the app but there are no migrations to apply.
I tried django-admin startproject ig_miner_app
. but am getting this error code:
CommandError: /Users/Erin/Desktop/CodeByEAllard/project/instagram_miner/manage.py already exists, overlaying a project or app into an existing directory won't replace conflicting files
If I can get this sorted out, I should just be able to run the server like normal, right?
I'm sure I'm missing something (or many things) but don't know what they are. I feel silly because I was obviously able to create the app in the first place, but can't figure out how to explain to someone else to do the same! Does any have suggestions for how to get the server to run?
Thank you!