- Run
sudo git pull https://github.com/karamyan/propellerads_cache_service.git
to pull project. - Run
cd propellerads_cache_service
- Run
sudo docker-compose -f docker-compose.yml up -d
to start the Docker containers. - Run
sudo cp .env.example .env
copy .env.example to .env - Run
sudo docker exec -it propellerads_php composer install
to install packages. - Run
sudo docker exec -it propellerads_php composer dump-autoload
. - Run
sudo docker-compose -f docker-compose.yml down
to stop the Docker containers.
-
[GET] http://localhost:7777
/api/stats?datamarts[]=stats_dep_a&date_time_from=2023-02-01%2014:00&date_time_to=2023-03-07%2014:00
-
[POST] http://localhost:7777
/api/stats/calculate
`{ "datamarts" : "stats_dep_c", "date_time": "2023-03-04 14:00" } `