How can i upload my Django project from github and then use it here as localhost?
1)I created a new project, then i’ve chosen Python as the language.
2)I made a clone from GitHub of the project
3)I entered the directory of my project and then did “pip install -r requirements.txt” to install the requirements of my project
4)I changed my database on settings to sqlite3 and then did “python manage.py migrate” to create my tables
5)I used “python manage.py runserver” and the server started to run but when i open any browser on the localhost the project does not run.
Am i missing something?
Welcome to the community, @tiagoadel!
Replit does not run on localhost, but on a repl.co domain, or a replit.app domain if you are using a deployment. To access this domain, just press the “Open In New Tab” button in the webview tab.
Hello @NateDhaliwal i managed to put it working just now. Edited my .replit file to:
run = “python Showoff/manage.py runserver 0.0.0.0:3000” because the .replit file was not in the location off the “Showoff” project.