You're seeing the code that runs dev.bloodmallet.com.
Everyone is welcome to add issues, discuss improvements and features, or create pull requests.
- Get or have Python 3.6+ (make sure to install it into PATH on windows)
- Get or have git installed
- Download this repository
$ git clone https://github.com/Bloodmallet/bloodmallet_web_frontend.git bloodmallet
(creates a directory "bloodmallet")
- Navigate into the created directory
$ cd bloodmallet/
- Create a virtual environment
$ python3 -m venv env
(creates a directory "env")- activate virtual environment
> env/Scripts/activate
(windows)$ source env/bin/activate
(linux)
- Install requirements
(env) bloodmallet/$ python -m pip install --upgrade pip setuptools wheel
(update all basic tools)(env) bloodmallet/$ pip install -U -r requirements_dev.txt
(install requirements)
- Create local database and tables
(env) bloodmallet/$ python manage.py migrate
- Start local django development server
(env) bloodmallet/$ python manage.py runserver
- Open
http://127.0.0.1:8000
in your browser of choice. And code away! 🎉
Maybe you want to create a superuser for local development.