git clone https://github.com/imobanco/ZoopAPIWrapper.git
run command to config .env
file and data
folder
make config
Or
make config.data
make config.env
Install docker-ce and docker-compose from each documentation.
First build a image named zoopapiwrapper
.
docker build --tag zoopapiwrapper .
Running in development:
docker run -it \
--rm \
--env-file .env \
--volume "$(pwd)":/code \
--workdir /code \
zoopapiwrapper \
bash
First build:
docker-compose build
For development use:
docker-compose run zoopapiwrapper bash
Note: the above command uses run
, for development it is really handy.
requires python>=3.6
config virtual env
for python with your python version
python3.6 -m venv env
on project folder run
source env/bin/activate
on project folder and with env active
make pip.install
on project folder and with env active
make test