First time here? Check out the FAQ!

How to add askbot to PyCharm?

Can somebody explain how to add askbot in pycharm and setup run configuration? Or maybe I'am looking in the wrong way? How to start develop?:)

bluebyte's avatar
asked 2013-03-11 15:42:45 -0600
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

2 Answers


I actually use PyCharm for askbot development.

This may not be optimal, but here is my setup.

I cloned askbot-devl git repo into direcotry myaskbot.

Then I went to PyCharm and

[File] -> [Open Directory...] to open the directory myaskbot which I have just created.

In order to set up run configuration, I created a askbot project (I'm not sure if this terminology is correct) with

askbot-setup to create a new directory called myforum

Then I went to PyCharm again to open the directory myforum in the same manner as previously described.

With myforum opened in PyCharm, I then went to

[Run] -> [Edit Configurations...]

and typed for Script


and for Script parameters

test askbot

You can change Script parameters if you want to run a single test rather than the whole test suite. Happy coding with PyCharm!

apg's avatar
answered 2013-09-28 04:06:02 -0600
edit flag offensive 0 remove flag delete link


add a comment see more comments

Maybe have a look at how to set up PyCharm for django?

Evgeny's avatar
answered 2013-03-11 16:45:02 -0600
edit flag offensive 0 remove flag delete link


But askbot-devel git repo doesn't look like django project...

bluebyte's avatar bluebyte (2013-03-11 17:10:53 -0600) edit

It is a django app, not a project - if the IDE works for the projects - set up a project, then install askbot into that project via "python develop".

Evgeny's avatar Evgeny (2013-03-11 17:12:15 -0600) edit

So, I should work with setup-result project, not with git repo? But how to push changes to git repo? Sory for stupid questions, thats not trivial for me right now. Maybe you can describe your development workflow in some words?

bluebyte's avatar bluebyte (2013-03-11 17:28:18 -0600) edit

The same way, no difference, except possibly you might need to add some files to the .gitignore (like files made by the IDE). I develop the same way, except I use vim.

Evgeny's avatar Evgeny (2013-03-11 17:30:07 -0600) edit

I do standard deployment into a virtual environment, but the key is to use "python develop" to leave all the askbot files in the current directory instead of copying them into the environments' site-packages.

Evgeny's avatar Evgeny (2013-03-11 17:33:38 -0600) edit
add a comment see more comments