Skip to content

Latest commit

 

History

History
52 lines (44 loc) · 1.54 KB

README.md

File metadata and controls

52 lines (44 loc) · 1.54 KB

CAVERIMX FRAMEWORK TORNADO BASED

HOW TO IMPLEMENT?

DEPENDENCIES

  1. Docker, Make you sure the lastest release running in the target machine. You can visit https://docs.docker.com/docker-for-windows/install/
  2. Install docker-compose. Wether your machine run under windows you need use Docker Toolbox https://docs.docker.com/toolbox/toolbox_install_windows For more systems visit https://docs.docker.com/compose/

Clone this repo.

git clone https://gitlab.com/caverimx/caverimx-tornado.git webapp
cd webapp

ENVIROMENT'S CONFIGURATION

Copy the file docker-services/env-example to docker-services/.env Edit docker's environments file for docker. Inside repository directory run and edit with your best editor.

cp docker-services/env-example docker-services/.env
cp src/app/env-example src/app/.env

INIT DOCKER CONTAINER

cd docker-services
docker-compose up

OUTPUT

PS C:\Users\52354\caverimx-tornado> cd docker-services
PS C:\Users\52354\caverimx-tornado\docker-services> docker-compose up
Recreating docker-services_app_1  ... done
Recreating docker-services_bash_1 ... done
Recreating docker-services_caddy_1 ... done
Attaching to docker-services_bash_1, docker-services_app_1, docker-services_caddy_1
bash_1   | 
docker-services_bash_1 exited with code 0
caddy_1  | Activating privacy features... done.
caddy_1  |
caddy_1  | Serving HTTP on port 80
caddy_1  | http://0.0.0.0
caddy_1  |
caddy_1  | 2020/07/11 17:44:15 [INFO] Serving http://0.0.0.0 

Happy Codding 04:20

You can visit http://ip.machine:80