agoravoting / agora-ciudadana

Liquid Voting system made with python and django
https://www.agoravoting.com
GNU Affero General Public License v3.0
122 stars 48 forks source link

The install instructions lead to no site error #31

Open alej0varas opened 11 years ago

alej0varas commented 11 years ago

I've followed the instrutions to install but when I try to register an account I get "Site matching query does not exist"

I've created a Site from the shell to patch this.

edulix commented 11 years ago

Interesting, could you please provide the backtrace?

alej0varas commented 11 years ago

I've reproduced the bug and the issue appears when I go to /admin/ after following the install instructionswf

Backtrace: https://gist.github.com/alej0varas/3404d1c7372b0ed7ec4f

patcon commented 11 years ago

It's not working yet, but I'm working on getting a vagrant development environment working. Hopefully that will help with various issues such as this :)

https://github.com/patcon/agora-ciudadana-vagrant

alej0varas commented 11 years ago

I also have a vagrant environment working. I just had time to push it.

https://github.com/alej0varas/agora-ciudadana/tree/vagrant

patcon commented 11 years ago

Nice @alej0varas! I'm normally totally game with keeping all project-related files (including vagrantfiles and any accompanying files that spin up a configured VM). I didn't want to clutter up the project root with all the vagrant-related files, but perhaps we could store them in a subdir?

I've got a bit more in my setup, as I was hoping to get it down to pretty much vagrant up and the site is good to go at localhost:8000. Would that approach be acceptable guys?

There's also the added benefit that we could later use the aws or rackspace provider plugins for vagrant, and use the same vagrantfile to help people deploy the project remotely :)

edulix commented 11 years ago

that sounds really nice, I'd love to have that =) Please go ahead @alej0varas @patcon with this.

patcon commented 11 years ago

:+1: