hansjorg / rust-ci

Django webapp for www.rust-ci.org
Apache License 2.0
17 stars 8 forks source link

Install instructions #25

Closed carols10cents closed 9 years ago

carols10cents commented 10 years ago

Feel free to close this issue and send me to stack overflow if you like-- I am an utter python beginner (rubyist getting into rust).

I'd love to help with this project, but I have no idea how to get a local version running so that I can try out any changes I make before submitting them.

Here's what I tried so far that hasn't seemed to work, if it did work, this would be a PR adding these instructions to the README (and I'd be glad to do so if you or someone can help me get these steps working). I'm on OSX yosemite.

  1. I looked at install.txt, which looks like it uses virtualenv, so I installed it: sudo easy_install virtualenv
  2. python --version gives me 2.7.6, which I figure is close enough to the 2.7.5 in the first line of install.txt, let me know if this is a source of my problems and I will install 2.7.5.
  3. Since I want to use my system python, I ran the first command in install.txt without the -p option, so virtualenv --no-site-packages --verbose env. That seemed to exit successfully.
  4. I ran the next command in install.txt, source env/bin/activate, and that output (env).
  5. I ran the next command in install.txt, pip install -r requirements.txt, and that ended with an error Could not find a version that satisfies the requirement launchpadlib==1.10.2 (from -r requirements.txt (line 6)) (from versions: 1.0.1, 1.0.2, 1.0, 1.6.0). Here's the entire output, and here's the contents of ~/.pip/pip.log.

I have no idea why it can't find the version of launchpadlib that the app seems to want. I'm tempted to start mucking with version numbers in requirements.txt, but I really have no idea what I'm doing so I'd probably just make it worse.

Thank you for this project!!! :heart: :heart_decoration: :heart_eyes:

jgillich commented 9 years ago

I haven't used Python for a while, but:

Some externally hosted files were ignored (use --allow-external to allow).

Could be worth a try.

hansjorg commented 9 years ago

Thanks for wanting to help out @carols10cents. Send me a mail or ping me on irc if there's anything else that's not working.

I had to add a couple of options to pip to get launchpadlib install to work:

pip install --allow-external launchpadlib --allow-unverified launchpadlib -r requirements.txt

I've updated install.txt.