Code Monkey home page Code Monkey logo

shopping-cart's Introduction

Shopping-Cart

This is an online Shopping Site made using Django and postgresql containing login/sign-up, add to cart, product purchase features/ payment option (using Stripe)

Oops your cart seems to be empty! ๐Ÿ™†โ€โ™€๏ธ

Meme Studio

Why don't you check out the Products Page ๐Ÿ˜‰

Meme Studio

What about adding this cute Elephant Cushion to your cart ๐Ÿ˜

Meme Studio

Setup on local machine

To set-up the development environment on your local machine, follow the below steps:

  1. Fork the repository to your github account.
  2. Clone the forked repository to your local machine.
  3. Download and install Python from here. Downloading python is mandatory for windows users. On macOS you may have python 2.x pre-installed, consider installing python 3.7 or higher. This step is generally not required for most linux users since most linux distros come with pre-installed python (typically 3.7 or higher).

Make sure you add python to your system path if it's not already added

Windows

  • Open command prompt and navigate to the directory where you want to create a virtual environment (preferably the parent directory of the one in which the cloned project resides).
  • Create a virtual environment: python -m venv env. Here, env can be replaced by any name of your choice.
  • Activate the virtual environment: env\Scripts\activate.bat.
  • run: pip install -r requirements.txt.
  • Navigate into the project directory where you have the manage.py file
  • Now run the server: python manage.py runserver.
  • Open a browser and go to: https://localhost:8000/. You should see a working django app showing that "the install worked successfully."

Linux/macOS

  • Open the terminal and follow the same steps as in the above Windows section with a few changes described below.
  • Instead of using python in commands, use python3.
  • To activate the virtual environment: source env/bin/activate.
  • Other steps are same as in Windows.

Now you're all set to buy your own perfectcushion!

shopping-cart's People

Contributors

sneha-nitdgp avatar garvitchittora avatar batflarrow avatar

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.