Open admwx7 opened 10 years ago
Just wondering why server does not use python virtualenv, and why installation script is only for apt-based linux distribs? virtualenv should solve almost all problems with installation
Aww. I'll rewrite script to be compatible with yum ones... or maybe just do a compile? :D
@alexa-infra We just wanted a quick install script at that moment. If you can create one with virtualenv that would be great!
No! Don't touch script. I'm rewriting it. :P
2014/1/4 Yashin Mehaboobe notifications@github.com
@alexa-infra https://github.com/alexa-infra We just wanted a quick install script at that moment. If you can create one with virtualenv that would be great!
— Reply to this email directly or view it on GitHubhttps://github.com/openfaux/openfaux-server/issues/19#issuecomment-31579729 .
Zlatan Vasović - ZDroid
@ZDroid yum? :D what is about gentoo? or even worst - ms windows? IMO simple requirements.txt for pip is the best solution. And after that you could add scripts for platforms to install python/pip/whatever. Moreover an user could decide - use or not virtualenv, installation scripts etc..
Aw, one system per one.
2014/1/4 Alexey Vasilyev notifications@github.com
@ZDroid https://github.com/ZDroid yum? :D what is about gentoo? or even worst - ms windows? IMO simple requirements.txt for pip is the best solution. And after that you could add scripts for platforms to install python/pip/whatever. Moreover an user could decide - use or not virtualenv, installation scripts etc..
— Reply to this email directly or view it on GitHubhttps://github.com/openfaux/openfaux-server/issues/19#issuecomment-31580071 .
Zlatan Vasović - ZDroid
3a383143942dad114d4dc79ccf9d179e3cefe89a
Now you can touch script. :)
why not just run the following?..
pip install -q -r requirements.txt
and requirements.txt
python-twisted>=13.2.0
webapp2>=2.5.1
Paste>=1.7.5
WebOb>=1.2.3
Do it.
2014/1/4 Alexey Vasilyev notifications@github.com
why not just run the following?..
pip install -q -r requirements.txt
and requirements.txt
python-twisted>=13.2.0 webapp2>=2.5.1 Paste>=1.7.5 WebOb>=1.2.3
— Reply to this email directly or view it on GitHubhttps://github.com/openfaux/openfaux-server/issues/19#issuecomment-31580644 .
Zlatan Vasović - ZDroid
BTW only twisted is the requirement here. The rest are not needed.
Ok. Let's nuke them.
2014/1/4 Yashin Mehaboobe notifications@github.com
BTW only twisted is the requirement here. The rest are not needed.
— Reply to this email directly or view it on GitHubhttps://github.com/openfaux/openfaux-server/issues/19#issuecomment-31580931 .
Zlatan Vasović - ZDroid
I already did it.
I saw.
2014/1/5 Yashin Mehaboobe notifications@github.com
I already did it.
— Reply to this email directly or view it on GitHubhttps://github.com/openfaux/openfaux-server/issues/19#issuecomment-31600788 .
Zlatan Vasović - ZDroid
Why isn't there any requirements.txt file? That way we can keep track of the dependencies. Easier to set up the dev environment.
It'll be here.
2014/1/5 Indradhanush Gupta notifications@github.com
Why isn't there any requirements.txt file? That way we can keep track of the dependencies. Easier to set up the dev environment.
— Reply to this email directly or view it on GitHubhttps://github.com/openfaux/openfaux-server/issues/19#issuecomment-31605721 .
Zlatan Vasović - ZDroid
So the change has been made and it's yet to merge?
Not, it isn't done. :D
Okay. I'll open a new issue and do it then. And we can call "pip install -r requirements.txt" from the install script here so it runs on the server too. Although virtualenv is better on the server too. By the way. Which would be a better way to contribute? Push changes to the my forked repository and then create a pull request or just push here directly in a new branch?
Make new branch here, no need to fork if you are team member. :)
We need an install script that will add our code to a server that already has Twisted installed on it, depending on implementation we may be able to change this from a script to a How-To, will definitely require a document that outlines what versions of Twisted a given version of OpenFaux-Server is supported on (yay compatibility).