API para os aplicativos de MOC (Marcação Online de Cirurgias)
- Clone this repo
- Install composer
- Configure conf/propel.json.default with the db information and remove the .default extension
- Run
composer install
- Install docker
- Run
composer create
to create a docker container - Run
composer run
to run the server within the container - Open 127.0.0.1:8080
- Run
composer stop
to stop the server
composer build-schema
to generate a schema from a database (requires propel.json configuration)composer build-models
to build propel models from schemacomposer generate-config
to generateconf/config.php
fromconf/propel.json
composer test
to run all tests
composer remove-containers
to remove all related docker containers