Skip to content

onesinus/petshop

Repository files navigation

Application using Django 3.2.7

Deployed Application (for testing purpose)

http://ec2-3-1-220-190.ap-southeast-1.compute.amazonaws.com:7321/
User login: mekar
Password: mekar

Options for running the application

  1. Using Virtual Environment
    if you want to run this application using virtual environment make sure you've python3 and pip installed on your operating system
    Then create a virtual environment with one of this command (choose one depending on your python alias)

        python -m venv venv

    or

        python3 -m venv venv

    or

        py -m venv venv

    Then activate virtual environment

    • If your operating system is linux or MacOs:
        source venv/bin/activate
    • If your operating system is windows
        venv\Script\activate.bat

    Install packages

        pip install -r requirements.txt

    To run application

        python manage.py runserver
  2. Using Docker Compose
    if you want to run this application using docker, make sure you've installed docker and docker compose (well tested in Docker version 20.10.11 & docker-compose version 1.21.2)

    docker-compose -f docker-compose.dev.yaml up -d

Additional Information

To create user for login to application

    python manage.py createsuperuser

References: https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/

About

Petshop application using Django 3.2.7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors