Commit 85a9d2d8e6078e282e461a710aef39a7f896c889

Authored by Jailson Dias
1 parent 1881b3ab

Adicionando tutorial para instalar o amadeus no docker

Showing 1 changed file with 14 additions and 0 deletions   Show diff stats
@@ -335,10 +335,24 @@ Once this is done, the breadcrumbs of the 'Create discipline' page is as follows @@ -335,10 +335,24 @@ Once this is done, the breadcrumbs of the 'Create discipline' page is as follows
335 335
336 336
337 337
  338 +## Docker image
338 339
  340 +Já tendo o docker instalado para executar o amadeus é preciso executar o seguinte comando:
339 341
  342 +``` bash
  343 + sudo docker run -itp 9000:9000 jailsondias/amadeus:0.1
  344 +```
  345 +Depois que ja estiver no ambiente do docker execute os seguintes comandos:
340 346
  347 +``` bash
  348 + /etc/init.d/postgresql start
  349 + /etc/init.d/nginx start
  350 + cd amadeuslms
  351 + gunicorn -D amadeus.wsgi:application
  352 +```
  353 +Agora só precisa abrir o navegador com localhost:9000 que vai abrir a página inicial do amadeus
341 354
  355 +Caso queira sair do docker e continuar com o amadeus executando no container só é preciso apertar crtl + p + q.
342 356
343 357
344 ## Link's úteis 358 ## Link's úteis