Skip to content

Developers ‐ EcoMind installation

Daniel Correa edited this page Nov 27, 2023 · 6 revisions

Running with Python

  1. Clone this repository: https://github.com/SASVAR-Project/Ecomind to your computer.

  2. Located at the root of the project, move to the src directory with the following command: cd src

  3. Run the following command: pip install -r requirements.txt

  4. Run the following command: python manage.py runserver

  5. Open http://localhost:8000/ route in your browser.

Running with Docker

  1. Clone this repository: https://github.com/SASVAR-Project/Ecomind to your computer.

  2. Run the following command to build the image, located at the root of the project: sudo docker build -f ./src/Dockerfile ./src -t ecomind-app

  3. Run the following command to run the project on localhost: sudo docker container run -d --name ecomind-docker -p 8000:8000 ecomind-app

  4. Open http://localhost:8000/ route in your browser.

Running with Docker Hub

  1. Run the following command to run the project on localhost: sudo docker run -d -p 8000:8000 --name ecomind-docker danielgara/ecomind

  2. Open http://localhost:8000/ route in your browser.

Clone this wiki locally