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 createto create a docker container - Run
composer runto run the server within the container - Open 127.0.0.1:8080
- Run
composer stopto stop the server
composer build-schemato generate a schema from a database (requires propel.json configuration)composer build-modelsto build propel models from schemacomposer generate-configto generateconf/config.phpfromconf/propel.json
composer testto run all tests
composer remove-containersto remove all related docker containers