Code Monkey home page Code Monkey logo

dinette's Introduction

Agiliq

This is all the code which powers agiliq.com.

A number of our apps are available at the agiliq.com site, and here via the requirements.txt

Some of our important apps we use are:

  1. Blogango at http://agiliq.com/blog/
  2. Merchant at http://agiliq.com/blog/
  3. Dinette at http://agiliq.com/demo/dinette/
  4. Graphos at http://agiliq.com/demo/graphos/

Patches are welcome and gratefully accepted, for this site and everything else on our Github.

How to use this

  1. Clone this repo.
  2. mkdir logs
  3. cp localsettings.example.py localsettings.py, add correct settings etc.
  4. pip install -r requirements.txt (You use virtualenv, right?)

Deployment

source deploy.sh

deploy.sh deploys the app to heroku and clears the cache.

This uses a custom multi buildpack. Heroku recommends using dj_static to serve static files, which we didn't like, so this is being served on gunicorn behind nginx. (Which is itself behind the heroku router, of course.)

dinette's People

Contributors

akshar-raaj avatar ashok-raavi avatar balu-varanasi avatar bhaskar234 avatar bhaskar8088 avatar jezdez avatar manjunath24 avatar shabda avatar theju avatar tuxcanfly avatar

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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dinette's Issues

Add search

Add search to DInette using Haystack and Whoosh.

New ways to sort data

The following ways to see data would be useful.

  1. Active topics.
  2. Unasnwered topics.
  3. New since last visit.

setuptools

As we are working in integrate Dinette into a project we have added a really minimal setup.py (plus MANIFEST.in) to our fork. This allow us to simply use 'pip install -e ...' to install Dinette app.

We think it would be interesting to have that on the master branch.

Take a look at http://github.com/galotecnia/Dinette

Zero documentation

No documentation available. At least the installation procedure along with the required dependencies should be documented somewhere.

Better instructions for installing as an app.

I am hoping that I could get some detailed instructions for this app as just adding this app seems to not be liked. I am wondering if I have the incorrect version of MarkupField installed.

root@foreignhost:/var/www/tavern# python manage.py migrate
/usr/local/lib/python2.7/dist-packages/sorl/thumbnail/helpers.py:6: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module

/usr/local/lib/python2.7/dist-packages/django/contrib/sites/models.py:78: RemovedInDjango19Warning: Model class django.contrib.sites.models.Site doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
class Site(models.Model):

Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 338, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 312, in execute
django.setup()
File "/usr/local/lib/python2.7/dist-packages/django/init.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 108, in populate
app_config.import_models(all_models)
File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 198, in import_models
self.models_module = import_module(models_module_name)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/var/www/tavern/dinette/models.py", line 14, in
from markupfield.fields import MarkupField
File "/usr/local/lib/python2.7/dist-packages/markupfield/fields.py", line 8, in
from markupfield import markup
File "/usr/local/lib/python2.7/dist-packages/markupfield/markup.py", line 58, in
extensions=[makeExtension(css_class='highlight')])
TypeError: makeExtension() got an unexpected keyword argument 'css_class'

Settings for LOG_FILE_NAME

i want to use dinette for forum in my django project
after install dinette
i am add "dinette", in install app
After when i give syncdb command so it give following error
"AttributeError: 'Settings' object has no attribute 'LOG_FILE_NAME'"
After that i am add setting for that in settings.py
like,
LOG_FILE_NAME = "test.log"
LOG_FILE_PATH = os.path.join(PROJECT_PATH, "logs")
so it gives error like
"NoSectionError: No section: 'formatters'"
After that i am add
LOG_FILE_PATH = "%s/logs/"%PROJECT_PATH
so still give same error
than i am replace with
LOG_FILE_PATH = ""%s/logs/""%PROJECT_PATH
so now it give error for
LOG_FILE_PATH = ""%s/logs/""%PROJECT_PATH
^
"SyntaxError: unexpected character after line continuation character"

how can i solve that
pls help,
Thanks in advance!!!

Write (better) tests

We have a very limited version of tests for Dinette. We need to write better and more comprehensive tests.

A way to get the email summary of Daily changes

I would like to have a way to get a daily digest of things happening with the forum.

So people would specify in their profile whether they want receive the email digest, and we can send to people at each end of each day.

License

"Like punBB this is BSD licensed."

That is just plain wrong. PunBB is licensed under GPL, which might mean you have to release this as GPL, too (especially as you just took the styles).

Install breaks at syncdb

When I installed Dinette I first had to realize that the documentation was out of date, since it did not tell me to add the following settings:

LOG_FILE_NAME = "test.log"
LOG_FILE_PATH = os.path.join(PROJECT_ROOT, "logs")

after adding these settings I do get an error though:

phil$ ./manage.py syncdb
Traceback (most recent call last):
File "./manage.py", line 27, in
execute_from_command_line()
File "/Users/phil/virtualenvs/zweitwelt/lib/python2.6/site-packages/django/core/management/init.py", line 429, in execute_from_command_line
utility.execute()
File "/Users/phil/virtualenvs/zweitwelt/lib/python2.6/site-packages/django/core/management/init.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/phil/virtualenvs/zweitwelt/lib/python2.6/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(_args, *_options.dict)
File "/Users/phil/virtualenvs/zweitwelt/lib/python2.6/site-packages/django/core/management/base.py", line 217, in execute
self.validate()
File "/Users/phil/virtualenvs/zweitwelt/lib/python2.6/site-packages/django/core/management/base.py", line 245, in validate
num_errors = get_validation_errors(s, app)
File "/Users/phil/virtualenvs/zweitwelt/lib/python2.6/site-packages/django/core/management/validation.py", line 28, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/Users/phil/virtualenvs/zweitwelt/lib/python2.6/site-packages/django/db/models/loading.py", line 146, in get_app_errors
self._populate()
File "/Users/phil/virtualenvs/zweitwelt/lib/python2.6/site-packages/django/db/models/loading.py", line 61, in _populate
self.load_app(app_name, True)
File "/Users/phil/virtualenvs/zweitwelt/lib/python2.6/site-packages/django/db/models/loading.py", line 78, in load_app
models = import_module('.models', app_name)
File "/Users/phil/virtualenvs/zweitwelt/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module
import(name)
File "/Users/phil/virtualenvs/zweitwelt/src/dinette/dinette/models.py", line 20, in
logging.config.fileConfig(settings.LOG_FILE_NAME,defaults=dict(log_path=settings.LOG_FILE_PATH))
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/config.py", line 76, in fileConfig
formatters = _create_formatters(cp)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/config.py", line 109, in _create_formatters
flist = cp.get("formatters", "keys")
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ConfigParser.py", line 531, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'formatters'

I am not sure what I am doing wrong, can you please help?

thanks,
Phil

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.