/avirdigital

Avirdigital website

Primary LanguageCSS

Django CI


Logo

Avirdigital portfolio website

Production · Staging

Table of Contents

About

Logo

Built With

Getting Started with Development

This is a development setup guide for this project. Please follow the instructions to setup project locally.

🤚 Requirements

Running locally

  • Pull the repo

  • Create new pipenv environment (virtualenv)

    pipenv --python 3.7
    
    --for poetry
    
    poetry shell
  • Install requirements

    pipenv install
    
    for poetry 
    
    poetry install
  • To run on local

    pipenv shell
    
    --for poetry
    
    poetry shell
    
    python manage.py migrate
    
    python manage.py collectstatic
    
    python manage.py runserver

    Application will run on 127.0.0.1:8000

  • For admin dashboard

    python manage.py createsuperuser
    python manage.py runserver

    Admin dashboard will run on 127.0.0.1:8000/admin

Troubleshooting

Testing

  • Django tests

    python manage.py test  
  • Alternatively tox

    tox

Contact