Ask Your Question

How to make askbot git repository and private customizations repository coexist?

asked 2013-05-02 20:08:03 -0600

pcompassion gravatar image

updated 2013-05-03 22:23:00 -0600

Evgeny gravatar image

I cloned the askbot git repo.

Now, askbot doc says I need to create mydjangosite(

What's the relationship between askbot directory I cloned and mydjangosite directory?

I want to create a private git repository for this project so that several team members can work on it.
I need to create a git repo for askbot , mydjangosite or both?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-05-03 22:21:17 -0600

Evgeny gravatar image

There is no need to put askbot and the bits of your site into the same repository even if you want to pull askbot from the repo.

For example - you can "pip-install" askbot into the virtual environment in the source form:

virtualenv env --no-site-packages
source env/bin/activate
pip install -e git+git://
askbot-setup #and continue as in the manual

This way you will get:

mysite/ #and other project files
    env #with all the virtualenv files

Now if you want to create a git repo for your deployment:

git init
echo env > .gitignore
git add .gitignore
git add
git commit -m 'my initial commit'
#then you can add a remote repo and push to your main backup repository

Now you will have askbot inside the env/src in an independent repository, which will be ignored together with all the environment files from your site repo.

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

1 follower


Asked: 2013-05-02 20:08:03 -0600

Seen: 922 times

Last updated: May 03 '13