
- HOW TO CHANGE PATH OF EXILE WEBSITE NAME INSTALL
- HOW TO CHANGE PATH OF EXILE WEBSITE NAME MANUAL
- HOW TO CHANGE PATH OF EXILE WEBSITE NAME FULL
- HOW TO CHANGE PATH OF EXILE WEBSITE NAME CODE
Go visit your site, it should be live! But it probably won't be using yourĬSS stylesheets, JavaScript and other things that are loaded from static files. Go to the Consoles tab, start a bash console, use cd to navigate to theĭirectory where your Django project's manage.py lives, then run. If, like most sites, your site uses a database, you'll need to set that up. (You'll find one at the top right of the wsgi file editor, or you can go back to the main web tab) Database setup ¶ Save the file, then go and hit the Reload button for your domain.
HOW TO CHANGE PATH OF EXILE WEBSITE NAME CODE
Wsgi.WSGIHandler() code commented out, or better still, delete it.

Set your working directory and give yourself a convenient hyperlink to yourĮnter the path to your project folder in the Code section on the web tab, eg Optional: enter path to your code ¶Īlthough this isn't necessary for the app to work, you can optionally
HOW TO CHANGE PATH OF EXILE WEBSITE NAME FULL
"mysite-virtualenv", and it will automatically complete to its full path in Once that's done, enter the name of your virtualenv in the Virtualenv
HOW TO CHANGE PATH OF EXILE WEBSITE NAME MANUAL
HOW TO CHANGE PATH OF EXILE WEBSITE NAME INSTALL
# or, if you have a requirements.txt: (mysite-virtualenv )$ pip install -r requirements.txt In your Bash console, create a virtualenv, naming it after your project, andĬhoosing the version of Python you want to use: $ mkvirtualenv -python =/usr/bin/python3.8 mysite-virtualenv Create a virtualenv and install Django and any other requirements ¶ That's the solution we recommend, but there are a few different methodsĭocumented on the uploading and downloading files help page.

Add any other setup (static files, environment variables etc)Īssuming your code is already on a code sharing site like GitHub or Bitbucket, youĬan just clone it from a Bash Console: # for example.Set up your web app using the manual config option.Set up a virtualenv and install Django and any other requirements.Here's an overview of the steps involved. What we call a Web app via the Web tab in our UI, and then configure it withĪ WSGI file whose job is simply to import your Django project.Īnd then your site will be live on the real, public Internet. With manage.py runserver and viewing your site on localhost, you'll create The main thing that's different is that, instead of using the Django dev server PC, you'll have a copy of your code on PythonAnywhere which you can edit and You'll use a virtualenv, just like you probably do on your own

Deploying a Django project on PythonAnywhere is a lot like running a Django project on
