openfaux / openfaux-server

Browser add-on for encrypting and masking internet traffic.
https://openfaux.org
GNU Affero General Public License v3.0
72 stars 18 forks source link

Install script without Twisted #19

Open admwx7 opened 10 years ago

admwx7 commented 10 years ago

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).

alexa-infra commented 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

zlatanvasovic commented 10 years ago

Aww. I'll rewrite script to be compatible with yum ones... or maybe just do a compile? :D

Sp3ctr3 commented 10 years ago

@alexa-infra We just wanted a quick install script at that moment. If you can create one with virtualenv that would be great!

zlatanvasovic commented 10 years ago

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

alexa-infra commented 10 years ago

@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..

zlatanvasovic commented 10 years ago

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

zlatanvasovic commented 10 years ago

3a383143942dad114d4dc79ccf9d179e3cefe89a

Now you can touch script. :)

alexa-infra commented 10 years ago

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
zlatanvasovic commented 10 years ago

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

Sp3ctr3 commented 10 years ago

BTW only twisted is the requirement here. The rest are not needed.

zlatanvasovic commented 10 years ago

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

Sp3ctr3 commented 10 years ago

I already did it.

zlatanvasovic commented 10 years ago

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

indradhanush commented 10 years ago

Why isn't there any requirements.txt file? That way we can keep track of the dependencies. Easier to set up the dev environment.

zlatanvasovic commented 10 years ago

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

indradhanush commented 10 years ago

So the change has been made and it's yet to merge?

zlatanvasovic commented 10 years ago

Not, it isn't done. :D

indradhanush commented 10 years ago

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?

zlatanvasovic commented 10 years ago

Make new branch here, no need to fork if you are team member. :)