This is the application service for the Bud Runtime which handles user management, project management, cluster management etc
- Docker and Docker Compose installed.
-
Clone the Repository:
git clone https://github.com/BudEcosystem/bud-serve-app cd bud-serve-app
-
Set environment variables:
cp .env.sample .env
-
Start project:
Use the following command to bring up all the services, including Dapr:
cd bud-serve-app ./deploy/start_dev.sh
To run the tests, make sure the Dapr API token is available in the environment. You can execute the tests using:
pytest --dapr-http-port 3510 --dapr-api-token <YOUR_DAPR_API_TOKEN>
execute budapp container
cd app/
alembic -c ./budapp/alembic.ini upgrade head
alembic -c ./budapp/alembic.ini revision --autogenerate -m "message"