To be able to test locally you would need to run VM with pre-installed docker-engine and docker-compose
vagrant up --provider parallelsvagrant up --provider virtualboxRun docker-compose up -d to build image and run container. Service will be availible on all interfaces and port 8888. E.g. 172.17.0.1:8888
You can send your requests to docker0 interface and port 8888 to test functionality. Output can be found by using docker logs command docker logs -f magic-container
terraform init to initialize environment;variables.tf contain correct data, espesially aws_access_key and aws_secret_key;terraform plan to validate your deployment and terraform apply to bootstrap this on AWS.After this you will have:
Hi Kessiler,
couple of comments regarding challenge.
The solution for the problem above should be written in NodeJS.
As I told you during our call, I don't have expereince with NodeJS, so I have desided to wrote simple app on python to be able to finish with this challenge. Hope this is not the issue.
Sergey
Content type
Image
Digest
Size
260.1 MB
Last updated
almost 9 years ago
docker pull sergeyshkolin/magic-app