- clonar projeto com git clone https://github.com/EscolaDeSaudePublica/sagu-api.git
cd sagu-api
.- rodar o comando
docker-compose exec php-fpm composer install
para instalar as dependências do composer - Abrir navegador em http://localhost:8085/
- criar um arquivo .env com base no .env.example
docker-compose exec php-fpm php artisan key:generate
. Se não ouver o pacote lumem-generate instalar seguindo as instruções do link- Depois da permissão nas pasta storage com os seguintes comandos
docker exec -it saguapi bash
chown -R $USER:www-data storage
chown -R $USER:www-data bootstrap
chmod -R 775 storage
chmod -R 775 bootstrap
Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.
Documentation for the framework can be found on the Lumen website.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at [email protected]. All security vulnerabilities will be promptly addressed.
The Lumen framework is open-sourced software licensed under the MIT license