在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:mysteriumnetwork/api开源软件地址:https://github.com/mysteriumnetwork/api开源编程语言:Python 42.3%开源软件介绍:Mysterium Network APIAPI for Node & Client Setup
docker-compose up -d --build
docker-compose exec api bin/db-upgrade
DevelopmentPre-requisitesFollow Google cloud guide to setup python development environment. TestingInstall the requirements using pip
To execute tests in docker container:
tests/run_tests (Optional) After that test database will be kept running in the background, so you can execute. To do that, you need to do additional steps:
DB_HOST=localhost:33062
DB_NAME=myst_api
DB_USER=myst_api
DB_PASSWORD=myst_api
bin/test LinterTo run linter: bin/lint Database schema changesTo change database schema:
That's it!
As a bonus point, you can try running |
2022-08-15
2022-08-17
2022-09-23
2023-10-27
2022-08-18
请发表评论