Sign inSign up

srikar1028/conversions-final

By srikar1028

•Updated over 8 years ago

Conversions-App

Image
0

126

srikar1028/conversions-final repository overview

Install Docker on your local / Server and initiate the Docker service then, type-in the following commands: Make sure to Enable Hyder-v in your system, to Install docker: https://docs.docker.com/docker-for-windows/install/#download-docker-for-windows⁠ 1.) docker login 1.a) docker pull srikar1028/conversions-final 2.) Provide user credentials, ask Srikar for credentials. 3.) docker run -m 2G -it --name final -p 1433:1433 -p 8000:8000 srikar1028/conversions-final powershell 4.) Once logged into the container with above cmd, change directory to Conversions_backend dir. i.e. cd C:\Conversions_backend. (Make sure this dir has Manage.py file.) 5.) ipconfig : To get the local IP address of the container. Save it. or on a local host type: docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" container_ID/name 6.) py manage.py runserver 0.0.0.0:8000 7.) Keep the container running, open browser on the local host (where container is sitting or hosted) and type IP-Address-of-container:8000/app/index.html (IP address retrieved in step 5)

Tag summary

Content type

Image

Digest

Size

-

Last updated

over 8 years ago

docker pull srikar1028/conversions-final