To setup the project, make sure you have the latest verson of pipenv first:
pip install -U pipenv
We advise running on Linux based machine or WSL.
Make sure you have make
as well:
sudo apt-get install build-essential
git clone git@gitlab.com:datarella/MOBIX-GROUP/storj-aea.git
make new_env
make install_env
to run the project you will need a .env
file with the following contents:
STORJ_ENDPOINT=""
STORJ_ACCESS_KEY=""
STORJ_ACCESS_KEY_ID=""
TARGET_SKILL="eightballer/storg_file_transfer:0.1.0"
run the agent:
make run_app
-
gitlab ci
- The ci contains the basic configuration required to launch a launch a gitlab ci
-
Dockerfile
- Basic Dockerfile which installs deps and launchs the app
-
makefile
- lints
- isort
- black
- code clean
- lints
-
pre-commit hooks for the build process
-
scripts
- app.py launcher for debugging and launching docker process
-
Pipfile
-
gitignore
-
docker ignore
-
.env file
-
docs
- clone repo
- setup a new environment
- make new_env
- make
- in project directory:
mkdocs serve
Visit http://127.0.0.1:8000/
- install pip
pip install pipenv
- create new environment
make new_env
- install new env
make install_env
setup pre-commit hooks
make install_hooks
lint, format, and sense check code
make lint
run tests
make tests