Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.16 KB

README.md

File metadata and controls

40 lines (31 loc) · 1.16 KB

Blogster

The Blogster is a Flask based application, a place for people to publish articles and ideas for others to see. Read about what's going on around you. Create an account and start expressing yourself.

Switch To your Project Directory

Install Virtual Environment Package:

  • py -m pip install --user virtualenv: "(FOR WINDOWS)"

Create Virtual Environment:

  • py -m venv blog-env: "(FOR WINDOWS)"

Switch To Your Virtual Environment:

  • .\blog-env\Scripts\activate: "(FOR WINDOWS)"

Install Packages from requirements.txt:

  • pip install -r requirements.txt

Run the Application:

  • python app.py

Console Output:

{
   * Serving Flask app "app" (lazy loading)
   * Environment: production
     WARNING: This is a development server. Do not use it in a production deployment.
     Use a production WSGI server instead.
   * Debug mode: on
   * Restarting with stat
   * Debugger is active!
   * Debugger PIN: 278-714-488
   * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
}

flask-mysqldb error:

Paste the .whl file in the utils folder, inside your root drive(C:\). Then run `pip install -r requirements.txt`