Skip to content

udaydevops07/Python-CIDR-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

βœ… Step-by-Step for Docker

πŸš€ Build & Run Docker Container

Build the image

docker build -t cidr-calculator .

Run the container

docker run -p 5000:5000 cidr-calculator Then open your browser to http://localhost:5000

βœ… Step-by-Step for macOS

  1. Open Terminal
  2. Create a Virtual Environment (recommended)

cd ~/Desktop/VS-Code/CIDR\ Web\ application/ python3 -m venv venv source venv/bin/activate You should now see your prompt change to indicate the virtual environment is active (e.g., (venv)).

  1. Install Flask

pip install flask (Optional: Save dependencies to requirements.txt)

pip freeze > requirements.txt

  1. Open the App In your browser, go to:

http://localhost:5001 βœ… Done! You're now running a Flask web app on your Mac.

About

🐍 Python CIDR Calculator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published