🚀 Empowering seamless e-commerce experiences with Django's robust backend infrastructure.
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
-
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. -
-
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.
-
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
- After the cloning is completed! you will get a folder and you have to navigate into that project directory:
-
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
-
-
For stopping and clearing the containers
- Use the following commands.
docker compose down
stop and delete the containers
- Use the following commands.
© 2024 EcoThaili. All Rights Reserved.