Hey,
On Wednesday, 3 July 2013 17:34:45 UTC+3, daonb wrote:
Hi guys,
In my quest to develop a Q&A site for the coming local election I've decided to try and use parts of the code from your project. here's how it went:
- names are confusing: is it open-budget or omuni-budget? depend if you look at rtd or github
point taken.
- Installation
-- I had to use sudo for "npm install volo"
We wanted to avoid walking people through setting up OS, for reasons like this. Whether you use sudo or not is entirely dependent on how you installed node, and we can't see everyone's machine in advanced. How do you suggest we deal with this?
-- I don't like the part about changing the hosts file. if every projects asked me to do it my hosts would look like shit
Well, this won't change - we make heavy use of subdomains in order to implement multi-language support according to google webmaster guidelines, and the dev env should reflect the production environment. Small price to pay, IMHO.
-- had to run 'volo add -noprompt' 3 times to get it to work
I have similar volo problems.
-- the quickstart doesn't include running the test
It does, it is in:
python manage.py devstrap -m -t
the -t flag runs tests - for sure we can make it clearer.
-- the local server doesn't work
As we noted when talking earlier - until now, we didn't lock down dependencies as we've been changing things and moving fast - so things break. The break you experienced is from a new release of Whoosh that doesn't work with django-haystack, and, possibly not having redis on your system.
We have now frozen the dependency versions for the project, and added Redis as a dependency. The quickstart is being updated.
I left it aside and copied the entities app to a separate repository so I can make it reusable - use it also for the Q&A. It went pretty good - the repo is here -
https://github.com/daonb/django-entities, please use it instead of the entities you now have and we can keep improving it together.
That is great.
You can remove serializers.py (only used for the omuni API), translations.py (only used for modifying db tables when modeltranslation is installed), and filters.py (only used by django-filter in the API, we are getting rid of it too), and search_indexes.py (used by django-haystack).
I think it would be nice to give us some credit in the README ;).
I'll start working on the entities app next week and integrate it bak into omuni.