Skip to content

An online-seller administration web app for managing sale transaction records, as well as customers, purchases, and products.

License

Notifications You must be signed in to change notification settings

FerdiantJoshua/alkafgrosir-administration

Repository files navigation

Alkafgrosir Administration

GitHub repo size GitHub issues GitHub GitHub release (latest by date including pre-releases)

An administration web to help automating Alkafgrosir's (an online seller) administration process. Built using Django 4.1.2.

Requirement

  • Python 3.8 or higher (tested in Python 3.9, and 3.10)

Installation

  1. Clone the project
    using SSH:

    git clone git@github.com:FerdiantJoshua/alkafgrosir-administration.git

    or using HTTPS:

    git clone https://github.com/FerdiantJoshua/alkafgrosir-administration.git
  2. Change to the directory

    cd alkafgrosir-administration
  3. Create project environtment using virtualenv

    python -m virtualenv venv
  4. Activate the virtual environment
    Windows

    venv/Scripts/activate.bat

    Linux or Mac

    source venv/bin/activate
  5. Install dependency

    pip install -r requirements.txt
  6. Create your .env file (check for .env.example)

    for example:

    ALLOWED_HOSTS = localhost,127.0.0.1
    DEBUG = False
    DB_NAME = alkaf_administration
    DB_USER = root
    DB_PASSWORD = password
    DB_HOST = 127.0.0.1
    DB_PORT = 3306
    DEV_MODE = False
    SECRET_KEY = {your_secret_key}
  7. Create your own secret key

    python manage.py shell

    You will run a Django shell, then run this script inside the Django shell:

    from django.core.management.utils import get_random_secret_key
    print(get_random_secret_key())
    exit()
  8. Put the printed secret key in SECRET_KEY variable in .env

  9. Migrate the database

    python manage.py migrate
  10. Run the server

    python manage.py runserver 0.0.0.0:8000

Environment Variables

  1. Rename .env.example to .env
  2. Modify and adjust any variables according to your configuration

Contributor

License

MIT

Check our shop out at marketplaces

  1. Shopee
  2. Tokopedia
  3. Bukalapak

About

An online-seller administration web app for managing sale transaction records, as well as customers, purchases, and products.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published