Ask Your Question

How to add askbot to PyCharm?

asked 2013-03-11 15:42:45 -0500

bluebyte's avatar

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?:)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-09-28 04:06:02 -0500

apg's avatar

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!

edit flag offensive delete link more

answered 2013-03-11 16:45:02 -0500

Evgeny's avatar

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

edit flag offensive delete link more


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

bluebyte's avatar bluebyte  ( 2013-03-11 17:10:53 -0500 )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 -0500 )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 -0500 )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 -0500 )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 -0500 )edit

Your Answer

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

Add Answer

Question Tools



Asked: 2013-03-11 15:42:45 -0500

Seen: 376 times

Last updated: Sep 28 '13