Requirements:
- Python 3.6 runtime
- Django 2.1
- Other dependencies in
Pipfile
For Vuetify UI build steps, follow this
Procedure:
- Install python in your environment(pre-installed on Ubuntu).
- Navigate to the cloned repository.
cd <project_directory_name> # mug_lo
- Install
pipenv
for dependency managementpip install pipenv
- Use pipenv to install other dependencies from
Pipfile
pipenv install --dev
- Change to
src
directory and optionally activate virtual environment, if you don't want to activate env, usepipenv run
to run python scriptscd src source "$(pipenv --venv)"/bin/activate
- Make database migrations
python manage.py makemigrations --settings=mug_lo.settings python manage.py migrate --settings=mug_lo.settings
- Create a superuser
python manage.py createsuperuser --settings=mug_lo.settings
- Run development server on localhost
python manage.py runserver --settings=mug_lo.settings