> For the complete documentation index, see [llms.txt](https://documentation.qure.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.qure.ai/api/platform-api/on-premises-deployment-specifications/starting-the-service.md).

# Starting the Service

Perform the following commands to start the service.

1. Commands to start the Service

```javascript
docker-compose -p qureapi up -d
docker exec -t qureapi bash -c "python /app/services/qure_platform_api/qure_platform_api_image.binary migrate"
docker exec -t qureapi bash -c "python /app/services/qure_platform_api/qure_platform_api_image.binary populatedefaults"
```

2. Friendly alias

```javascript
alias up='docker-compose -p qureapi up -d'
alias down='docker-compose -p qureapi down --remove-orphans'
alias logs='docker-compose -p qureapi logs -f --tail 100'

alias db_migrate='docker exec -t qureapi bash -c "python /app/services/qure_platform_api/qure_platform_api_image.binary migrate"'
alias set_default='docker exec -t qureapi bash -c "python /app/services/qure_platform_api/qure_platform_api_image.binary populatedefaults"'

alias remove_vol='docker volume rm qureapi_vrad-qureapi-db qureapi_vrad-qureapi-data'
alias reset_services='docker-compose -p qureapi down --remove-orphans && remove_vol && up && db_migrate && set_default'
```
