GithubHelp home page GithubHelp logo

nivesnine / mamba Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 429 KB

A blogging platform built with Python and the Flask framework

License: GNU General Public License v2.0

Python 56.13% HTML 43.74% Shell 0.13%
flask python blog

mamba's Introduction

Mamba


Build Status codecov

Mamba is a simple blogging platform built on the Flask framework.

Known Issues

  1. user edit form in admin area does not show a users current roles
  2. boolean fields do not properly show checked/unchecked in forms
  3. tests need to be rewritten / updated

TODO

  1. create an easier way to edit and manage the site menus
  2. fix known issues

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

 1. Python 3.9
 2. virtualenv
 3. sqlite3
 4. git 

Installing

git clone <repo>
cd mamba
virtualenv -p '/path/to/python3.9' env
source env/bin/activate
pip install -r requirements.txt
Edit config.py (replace 'secret')
Edit init_db.py (email / password)
python init_db.py
python wsgi.py
open browser and go to localhost:5000

Running the tests

you can run tests with pytest

Deployment

To deploy code into a live environment, you will want to use gunicorn, nginx and mysql. Googling around will get you information on how to make this happen, a more in depth write up / how to section will replace this one in time.

Built With Flask

Contributing

Please read CODE_OF_CONDUCT.md for details on our code of conduct, and CONTRIBUTING.md for submitting issues and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the GPLv2 License - see the LICENSE.md file for details

Acknowledgments

  • Inspired by m1yag1 for sharing his single file Flask blog app and convincing me to finally start this project

mamba's People

Contributors

autoferrit avatar dependabot[bot] avatar nivesnine avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

autoferrit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.