Ask Your Question
4

The best workflow to develop Askbot

asked 2013-09-09 23:37:03 -0600

Vu Quang Chien gravatar image

I've been using askbot for a while and feel extremely happy with it. However, it comes to a point where I need some customization, for example:

  • Change existing Askbot Javascript code
  • Add new custom javascript file to the site
  • Change some UI-wise feature (add small description to the homepage)
  • Add new functionality: add invite to answer feature
  • Integrate search with Lucene to search inside comment, uploaded files, etc.

So, my thought is to fork Askbot and develop on a independent source branch myself. I can pull changes from the original source if you have any update later.

In the documentation, you mentioned about setting up a development environment:

python setup.py develop #the develop option will not install askbot into the python site packages directory

but is this the correct way if I want to deploy the source code to production server? (You're using pip install askbot to deploy it to production, which is great, but how can I create the package from the source code in git). Is there any kind of developer guide for kick-starting my askbot development (I'm very new to Python/Django development)?

edit retag flag offensive close merge delete

Comments

2

I was able to use python setup.py develop both in the local development environment and production server. I have also set up remote git repo at the same production server. My workflow is basically I push my commit to the remote repo then merge into the production code.

apg gravatar imageapg ( 2013-09-16 06:54:53 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-09-23 15:50:56 -0600

Evgeny gravatar image

If you would like to develop askbot independently - then just fork and continue on your own.

For development - clone the repository on your computer, then run python setup.py develop, it's more convenient than using pip (it is possible to clone git/svn/hg etc repositories with pip too with pip install -e git+..., but not really necessary for the development unless you want to pull dependencies from the repos as well).

We accept pull requests via github, but strongly prefer to use topic branches (strictly one feature/bug fix per branch). Thanks!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2013-09-09 23:37:03 -0600

Seen: 2,590 times

Last updated: Sep 23 '13