3. Setup development environment with Vagrant¶
Vagrantfile is provided in project root directory. To setup the
development environment, all you need is just to run
vagrant up --provider virtualbox
vagrant succeeds to run the virtual machine, you will get a complete
environment to develop Nitrate,
a Python virtual environment creatd at
$HOME/nitrate-env/with all necessary dependecies installed.
database is created in MariaDB and name is
nitrate. It’s empty. Before hacking and running development server, remmeber to synchronize database from models.
8000is mapped to
source code is mounted at
Run development server
./manage.py runserver 0.0.0.0:8000
visit http://127.0.0.1:8087 with your favourite web browser.