Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hasgeek/baseframe
Baseframe for Hasgeek projects
https://github.com/hasgeek/baseframe
flask hacktoberfest hasgeek library python
Last synced: 23 days ago
JSON representation
Baseframe for Hasgeek projects
- Host: GitHub
- URL: https://github.com/hasgeek/baseframe
- Owner: hasgeek
- License: bsd-3-clause
- Created: 2011-12-09T20:53:29.000Z (about 13 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T09:27:28.000Z (7 months ago)
- Last Synced: 2024-05-22T10:43:42.157Z (7 months ago)
- Topics: flask, hacktoberfest, hasgeek, library, python
- Language: JavaScript
- Homepage:
- Size: 41.9 MB
- Stars: 12
- Watchers: 14
- Forks: 17
- Open Issues: 51
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
Baseframe
=========|docs| |travis| |coveralls|
Reusable styles and templates for Hasgeek projects. Setup instructions::
python setup.py install
Or, to use in a development environment where Baseframe will change frequently::
python setup.py develop
makeYou'll need this boilerplate in your code to use it::
from flask import Flask
from baseframe import baseframe, assets, Versionversion = Version('0.1.0') # Insert your app's version number here
app = Flask(__name__, instance_relative_config=True)# Declare your app's assets (with .js and .css suffixes)
# Filenames are relative to your app's static folder
assets['myapp.js'][version] = 'js/myapp.js'
assets['myapp.css'][version] = 'css/myapp.css'# Initialize baseframe with required JS/CSS assets
# The 'baseframe' requirement is optional: it gives you the default UI
baseframe.init_app(app, requires=['baseframe', 'myapp'])Baseframe is BSD-licensed, but is built on top of Twitter Bootstrap 3.0
and bundles various JavaScript libraries which use BSD, MIT and Apache... |docs| image:: https://readthedocs.org/projects/baseframe/badge/?version=latest
:target: http://baseframe.readthedocs.io/en/latest/?badge=latest
:alt: Documentation status.. |travis| image:: https://secure.travis-ci.org/hasgeek/baseframe.svg?branch=master
:target: https://travis-ci.org/hasgeek/baseframe
:alt: Build status.. |coveralls| image:: https://coveralls.io/repos/hasgeek/baseframe/badge.svg
:target: https://coveralls.io/r/hasgeek/baseframe
:alt: Coverage status