Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

pinakipb2/advanced-flask-magnews-website

Repository files navigation

Introduction

Flask Magnews

forthebadge made-with-python

Python v3.8.2

Open Source Love GitHub GitHub GitHub issues GitHub forks GitHub stars GitHub contributors GitHub last commit

Flask Magnews is a fully responsive and interactive blog website. Based on Flask micro-framework. Highly customizable and easy to use. Fits many screen resolutions from small mobile devices to large desktops.

Look?

Homepage

Flask Magnews

Admin Dashboard

AdminPanel

User Dashboard

UserPanel

Flask Magnews has been carefully coded with clear comments in all of its JS, Python and HTML files.

Requirements:

  • Python (v3.8.2)+ [Recommended]
  • MySQL

Download:

Download from GitHub releases.

Installation

  • Fork the repository ( Here is the Guide ).
  • Clone to your machine
  • Make a database "myblog" OR customize your own
  • You may import demo values if requires or can start fresh!

Code to run:

Start MySQL then go to the root folder where the files are stored, Create a virtual environment and activate it and run the follwing commands after that:

pip install -r requirements.txt

For database :

Run the following commands :

python
from website import db
db.create_all()
exit()

OR

import the sql dump from the "Demo SQL File" folder.

Then start the server by typing :

python run.py 

The website will be live at:

http://127.0.0.1:5000/

Browser Support

  • IE 10+
  • Firefox (latest)
  • Chrome (latest)
  • Safari (latest)
  • Opera (latest)
  • Microsoft Edge (latest)

Contributions

Contributions are always welcome and recommended! Here is how:

  • Fork the repository ( Here is the Guide ).
  • Clone to your machine
  • Create a new branch
  • Make your changes
  • Create a pull request

Contribution Requirements:

  • When you contribute, you agree to give a non-exclusive license to Flask Magnews to use that contribution in any context as we (Flask Magnews) see appropriate.
  • If you use content provided by another party, it must be appropriately licensed using an open source license.
  • Contributions are only accepted through GitHub pull requests.
  • Finally, contributed code must work in all supported browsers (see above for browser support).

License

Flask Magnews is an open source project by Pinaki that is licensed under MIT. Flask Magnews reserves the right to change the license of future releases.

Image Credits