A Simple Measurement Unit Converter built on Django
- Clone this repo in your projects folder.
git clone [email protected]:lewisemm/converter.git
- Create a virtual environment and install the dependencies.
# create and activate the virtual env
virtualenv -p python3.7 env
source env/bin/activate
# install dependencies
pip install -r requirements.txt
- Run the tests to ensure everything is in working order.
python manage.py test
Creating test database for alias 'default'...
System check identified no issues (0 silenced).
..
----------------------------------------------------------------------
Ran 2 tests in 0.022s
OK
Destroying test database for alias 'default'...
- Access the length measurement converter via http://127.0.0.1:8000/length/convert