First things first:
- You need python and pip installed
- Install virtualenv by typing "pip install virtualenv" either on dos (Windows) or terminal (Mac)
On OSX (Mac)
Open Terminal Change directories to wherever it is you want this project to exist (example, type "cd ~" to change directory to the user directory
type the following commands:
- git clone https://github.com/vianuevm/webdev.git
- cd webdev
- virtualenv venv
- source venv/bin/activate
- pip install flask
- python main.py
Now open your browser on localhost:8080 -- you have a webserver!
On Windows
Open Dos (press windows button, type cmd and hit enter) Change directories to wherever it is you want this project to exist (example, type "cd /" to change directory to the C:\ directory
type the following commands:
- git clone https://github.com/vianuevm/webdev.git
- cd webdev
- virtualenv venv
- venv/Scripts/activate.bat
- pip install flask
- python main.py
Now open your browser on localhost:8080 -- you have a webserver!