Coder Social home page Coder Social logo

aadrianleo / themarket Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 21.08 MB

TheMarket is an marketing website where you can buy sell any product with any category. Users can have conversation regaring the product from the owner directly through the website in the prodect section. A seller an uplaod the products details and edit anytime he wants. Every user has a secure login password to identify as a erticuler user. This w

Home Page: https://the-market.vercel.app

Python 61.06% HTML 38.61% Shell 0.33%
django django-framework django-project django-python django-web django-website python dbsqlite3 marketing marketplace

themarket's Introduction

TheMarket

Introduction

TheMarket is an marketing website where you can buy sell any product with any category. Users can have conversation regaring the product from the owner directly through the website in the prodect section. A seller an uplaod the products details and edit anytime he wants. Every user has a secure login password to identify as a erticuler user. This website is Build using Django python.

Documentation for access in you local servre and developement and changes

Python 3.8 is recomended.

The website is user developement you can run the website in local server

For running the website in local server :

Go to the path in themarket > themarket > settings.py

and comment the below code :

ALLOWED_HOSTS = ['.vercel.app', '.now.sh']

and uncomment the below code for getting the website on local server :

ALLOWED_HOSTS = ['127.0.0.1']

and comment the below code in the same file :

`DATABASES = {

'default': {
    'ENGINE': "django.db.backends.postgresql_psycopg2",
    'HOST': "db.hxrfbdsvqkgsuatvdczi.supabase.co",
    'NAME': "postgres",
    'USER': "postgres",
    'PASSWORD': "**********",
    'PORT': "5432",
}

}`

and uncomment the below code for changing the database to db.sqlite3 :

`DATABASES = {

'default': {
    'ENGINE': 'django.db.backends.sqlite3',
    'NAME': BASE_DIR / 'db.sqlite3',
}

}`

before running the Below Commands activate the virtual envirenment to access python:

# env\Scripts\activate

and then run the below command in the terminal :

# python manage.py makemigrations

and then this command :

# python manage.py migrate

and run the website with the following command :

# python manage.py runserver

Thw website is not totaly ready for production working on some databse issue for image to upload. If any issue comes up for the above documentaion try contacting me. Fave Fun ๐Ÿ˜

themarket's People

Contributors

aadrianleo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

themarket's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.