Skip to content

A simple robotic brain developed under DDD principles leveraging Onion Architecture

License

Notifications You must be signed in to change notification settings

pablocm83/jpardobl-trastobrain

 
 

Repository files navigation

Simple brain for robotics.

It is developed using a Domain Driven Design aproach and Onion Architecture.

How to start

First create a Python virtual environment:

> virtualenv venv

Activate the new virtual environment.

> . venv/bin/activate

Clone the repo and cd into it

git clone git@github.com:jpardobl/jpardobl-trastobrain.git

cd jpardobl-trastobrain

Install the project into the virtualenv

pip install .

Install requirements:

pip install -r requirements.txt

Execute the server from the command line (important to execute it from the base path of the project)

scripts/start.sh

How to build image and run container

Build image:

docker build . -t trastobrain

Run container:

docker run -d -p 8080:8080 --name trastobrain trastobrain:latest

About

A simple robotic brain developed under DDD principles leveraging Onion Architecture

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.5%
  • Shell 1.8%
  • Dockerfile 0.7%