Skip to content

Team-Inventrix/EcoThaili-API

Repository files navigation

homescreen

🚀 Empowering seamless e-commerce experiences with Django's robust backend infrastructure.

Comprehensive Guide to Setup the Project in Our Local Machine

Prerequisites

Note

Please use LTS version of following tools.

Note

Only after creating virtual environment, step foward to next step. If you have any issue building our project plz send your query/problem in discussion

It's time to play 🎲

  1. Clone the Repository:

    • Open your terminal or command prompt. (If you are comming from step 0 you don't need to reopen terminal)

    • Navigate to the directory where you want to clone the repository.

    • Run the following command:

      git clone https://github.com/Team-Inventrix/EcoThaili-API.git

    Here https://github.com/Team-Inventrix/EcoThaili-API.git is the URL of the GitHub repository from where we will be cloning the project to our local machine.

  2. Virtual Env. setup:

    • For Linux users, go through this guide to setup virtual env. in your local machine.
    • For windows user, go through this guide to setup virtual env. in your local machine.
  3. Install Project Dependencies:

    • After the cloning is completed! you will get a folder and you have to navigate into that project directory:
      cd EcoThaili-API
    • Run the following command to install project dependencies specified in requirements.txt:
      pip install --no-cache-dir -r requirements.txt
  4. Time to use Docker🐋

    • Simply, run the following either of the mentioned command as per your need.

      docker compose up --build

      This commans starts containers after rebuilding all images specified.

      or,

      docker compose up

      This command starts containers with existing images, rebuilding only if necessary.

    if your wanna stop the container, use Ctrl + C

  5. For stopping and clearing the containers

    • Use the following commands.
      docker compose down

      stop and delete the containers

Comprehensive guide to use our API

© 2024 EcoThaili. All Rights Reserved.

About

🚀 Empowering seamless e-commerce experiences with Django's robust backend infrastructure.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published