Skip to content

This is a Django project. A product manager, where it has the register of product, updates of data product, the exclusion of product and th listing of all products added.

License

Notifications You must be signed in to change notification settings

igorsilva3/product_manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRODUCT MANAGER

Repository size GitHub last commit License Stargazers

This is a Django project. A product manager, where it has the register of product, updates of data product, the exclusion of product and th listing of all products added. 🌠

📌 Table of Contents

Pages screenshot

Page Home Page Add Product
Page Update Product Page Search

Technologies

Prerequisites

  • Python 3.7.1+ installed in your machine
  • Postgresql installed in your machine
  • Creation of virtual environment

     # Installing virtualenv for Python
     $ python3 -m pip install virtualenv
    
     # Creating your virtual environment
     $ python3 -m virtualenv name-of-your-virtual-environment
    
     # Activating virtual environment
     $ source name-of-your-virtual-environment/bin/activate
  • Installing dependencies

     # Enter in folder of project
     $ cd product_manager/

    Make sure what the virtual environment this activated.

     # Installing requirements
     (name-of-your-virtual-environment) $ pip install -r requirements.txt
  • Configuring the database connection

     # In product_manager/settings.py
     DATABASES = {
     	'default': {
     		'ENGINE': 'django.db.backends.postgresql_psycopg2',
     		'NAME': 'name-of-your-database',
     		'USER': 'user-of-your-database',
     		'PASSWORD': 'password-of-your-database',
     		'HOST': 'localhost',
     		'PORT': '5432',
     	}
     }
  • Migrating database

     # Building the database tables and fields
     (name-of-your-virtual-environment) $ python manage.py makemigrations
    
     # Migrating for database
     (name-of-your-virtual-environment) $ python manage.py migrate

How to run

With your virtual environment enabled

# Running the application
(name-of-your-virtual-environment) $ python manage.py runserver

License

Released in 2020 📕 License.

Made with ❤️ by Igor Silva. This project is under the MIT license.

Give a ⭐ if this project helped you!

About

This is a Django project. A product manager, where it has the register of product, updates of data product, the exclusion of product and th listing of all products added.

Topics

Resources

License

Stars

Watchers

Forks