https://app.swaggerhub.com/apis-docs/xcalad01/Bakalarka/0.1
👉 Note: Docker and Docker-compose need to be installed
-
docker-compose up -d
-
docker exec -it workspace
-
chmod +x entrypoint.sh && ./entrypoint.sh
After that, the system will start to collect the data in regular intervals, API and UI should be deployed.
https://docs.datadoghq.com/tracing/setup/php/
If no database snapshot is available, you can use tmux sessions as adding 8+ years of data is pretty long running process.
-
tmux new -s init_db_crypto_task
-
export INIT_CRYPTO_START={start_timestamp}
-
export INIT_CRYPTO_END={end_timestamp}
-
php app/Modules/init_db_crypto_task.php
If you did not do it on startup.
-
tmux new -s init_db_fiat_task
-
export FIAT_START={start_timestamp}
-
export FIAT_END={end_timestamp}
-
php artisan fiat:init_db
👉 Note: phpunit is required to be installed
- from root folder -> ./vendor/bin/phpunit
-
MIX_API_URL => api url
-
MIX_API_PORT => api port
-
DB_HOST
-
DB_DATABASE => name of the database
-
DB_USERNAME
-
DB_PASSWORD