a-afra / subscription_system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subscription System

Description

This is a subscription management system built with Django.

Requirements

  • Python 3.6 or higher
  • Django 3.2.8

Getting started

Installation

Clone the repository or download the ZIP file:

git clone https://github.com/a-afra/subscription_system.git
cd subscription_system-master

Create a virtual environment and activate it:

python3 -m venv env

Activate the virtual environment:

On Windows:

env\Scripts\activate

On Unix or Linux:

source env/bin/activate

Install the dependencies:

pip install -r requirements.txt

Migrate the database:

cd src/subscriptionproject/
python manage.py makemigrations
python manage.py migrate

Create a superuser: Recomen: use 'admin' as username and password.

python manage.py createsuperuser

Run the development server:

python maange.py runserver

The application can now be accessed at http://localhost:8000/.

Usage

Important Step You have to add some plans before using the app.

To access the administration interface, go to http://localhost:8000/admin/ and log in with your superuser credentials.

Creating New Plans

  • Fill out the form with following content and create 3 new subscription plans.
Name Price Description
Basic 10.0 2 VCPU
2 GB DDR4
30 GB Storage
Professional 15.0 4 VCPU
8 GB DDR4
140 GB Storage
Advanced 20.0 6 VCPU
16 GB DDR4
250 GB Storage

Once you have set up the project, you can use it to manage subscriptions. There are also features to manage invoices.

Subscribing to Plans

Invoicing

  • Invoices will be automatically created for subscribed users on a periodic basis.

Account Information

Account Statistics

About


Languages

Language:Python 50.3%Language:HTML 47.4%Language:CSS 2.4%