terra-revival / backtest

Python backtesting engine for USTC or any Terra Classic Stable Algos
Other
6 stars 2 forks source link

#29 Improve Docker Compose workflow #30

Open OhhBilboBaggins opened 1 year ago

OhhBilboBaggins commented 1 year ago

This PR makes it so that bootstrapping a local development environment for terra_algo_backtest is as close to simple as it can be with our current CI / CD pipeline, regardless of the host environment. Now all that should be needed to run the project is two simple docker compose commands.

Testing

docker-compose up prerun
docker-compose up

Intended Results

Notes

If you need to regenerate the .env file for whatever reason, you can do so by simply running the following command:

docker-compose up prerun
faffyswap commented 1 year ago

I have tested it locally, fine by me

RedlineDrifter commented 1 year ago

Added .gitattributes to fix git clone UNIX to CRLF issues on Win OS

fixed dependency conflict between setup.py and requirements.txt