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.
Flask Magnews has been carefully coded with clear comments in all of its JS, Python and HTML files.
- Python (v3.8.2)+ [Recommended]
- MySQL
Download from GitHub releases.
- 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!
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
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/
- IE 10+
- Firefox (latest)
- Chrome (latest)
- Safari (latest)
- Opera (latest)
- Microsoft Edge (latest)
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
- 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).
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.