Coder Social home page Coder Social logo

opentaste / bombolone Goto Github PK

View Code? Open in Web Editor NEW
74.0 20.0 20.0 4.22 MB

Bombolone is a tasty Content Management System for Python based on Flask, MongoDB, AngularJS, Sass and Bootstrap. It's designed to be a simple, flexible toolset for projects of any size.

License: Other

Python 52.30% JavaScript 15.90% CSS 9.99% Ruby 0.43% HTML 21.38%

bombolone's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bombolone's Issues

Pillow dependencies

I got some errors when tried to install Pillow on ubuntu. "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 44: ordinal not in range(128)", for example.

Pillow docs say that many of Pillow’s features require external libraries (libjpeg, zlib, libtiff, libfreetype, etc.).

Here a script to install some dependencies on ubuntu (https://gist.github.com/fernandojunior/17b027e3d5996721abe3)

TypeError: 'NoneType' object has no attribute '__getitem__'

TypeError: 'NoneType' object has no attribute 'getitem'

Traceback (most recent call last)
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1836, in call
return self.wsgi_app(environ, start_response)
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1473, in full_dispatch_request
rv = self.preprocess_request()
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1666, in preprocess_request
rv = func()
File "/home/frank/Downloads/bombolone-master/app.py", line 104, in before_request
return core_before_request()
File "/home/frank/Downloads/bombolone-master/before.py", line 68, in core_before_request
g.all_the_languages = g.languages_object.all_lang_by_tuple
File "/home/frank/Downloads/bombolone-master/core/languages.py", line 123, in all_lang_by_tuple
return [ (x , y) for x, y in sorted(names['value'].iteritems())]
TypeError: 'NoneType' object has no attribute 'getitem'

Here is the full terminal log:http://pastebin.com/NF7FjtMA

fab mongodb_restore doesn't work, error in config.py truple needed instead of dictionary

running fab mongodb_restore gives an error for EXTENSIONS_REQUEST. it is written as a dictionary but must be a truple.

below is the diff needed

diff --git a/app/config.py b/app/config.py
index 342f9dc..000f607 100644
--- a/app/config.py
+++ b/app/config.py
@@ -52,7 +52,7 @@ ALLOWED_ALL_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'g
 EXTENSIONS = {'png' : 'PNG', 'jpg' : 'JPEG', 'jpeg' : 'JPEG', 'gif' : 'GIF'}

 # ~
-EXTENSIONS_REQUEST = {'png', 'jpg', 'jpeg', 'gif', 'css', 'js'}
+EXTENSIONS_REQUEST = ('png', 'jpg', 'jpeg', 'gif', 'css', 'js')

 # ~
 LIST_LANGUAGES = ['ar','cn','de','en','es','fr','gr','it','jp','pt','ru','tr']

Init Bombolone Mongodb Error

Error when try to init Bombolone Mongodb:
$ mongorestore --db new_app --drop data/backup/mongodb/2014-07-29/bombolone
connected to: 127.0.0.1
Wed Oct 15 03:58:07.208 ERROR: don't know what to do with file [data/backup/mongodb/2014-07-29/bombolone]

The dev renamed the folder and forgot to change the command. For init bombolone mongodb, use this command:
$ mongorestore --db new_app --drop data/backup/mongodb/2014-07-29/new_app

Then, update config.py file at line 7. Change DATABASE = 'bombolone' to DATABASE = 'new_app'

Unable to install

I am intrigued with your project. I too am working with Flask and interested in and have some experience with AngularJS. I tried without success to install this package on Ubuntu.
Is your REQUIREMENTS.txt current? You need everything in this file to run bombolone?

Improve Readme

Better explanation how run

  • js unit test
  • js integration test
  • python test

Simplify installation process

  • Advice to install mongodb by http://brew.sh/
  • Separate testing and css dependencies from the first running
  • Check in all the bower dependency
  • Remove fabric from the requirement to install everything
  • Move Fabric as requirement to use some special comand

CheckValue.full_name

CheckValue class, full_name method: is not really correct because it checks only a-z and does not allow accent letters such as à, ç, ê, ô.

We need improve the regex for take the full name variations of all countries.

Fix error in @check_authentication

The check_authentication decorator is write in admin.py line 19.

When this decorator is used as below,

@check_authentication
def admin_page():
    pass

it works, but when used by passing one or more parameters doesn't work.

@check_authentication
def admin_page(var_one, var_two):
    pass

Create a demo

Create a demonstration website to show the CMS features.

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.