Articles Tagged deploy
There is a nice tool called ngrok. It allows to bind the URL for your localhost server!
For example, you've launched a django development server on you computer:
python manage.py runserver
and this project can be accessed by remote URL.
At least i can imagine such tasks:
- demonstrate project to customer
- check your site integration with payment system. For example paypal, where for receiving IPN messages you need a working site ...
In this post i'll describe my experience of deploying django project to VPS-hosting.
Steps of deploying and server setup:
- Creation of django project
- Deploy setup
- Server setup
Creation of django project
Assume, that project is called myproject.
First, create it on local machine. We'll need pip and virtualenv (if not installed yet).
Create virtual environment:
# on *nix system source venv-myproject/bin/activate REM on windows venv\Scripts\activate ...