Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Issues #14

Open
rblom opened this issue Jan 3, 2012 · 5 comments
Open

Installation Issues #14

rblom opened this issue Jan 3, 2012 · 5 comments

Comments

@rblom
Copy link

rblom commented Jan 3, 2012

I am a developer, but not a Python developer, so I am looking for some help with installation.

here are the steps I have followed.

  1. I have a SUSE Linux distribution.
  2. I have MySQL.
  3. I downloaded the software and unpacked it on the web server.
  4. I created the database, and ran all the database scripts.

The resutls are at http://cbu.milwaukee.gov/cbu/main.py.

Please eamail me at [email protected], if you have suggestions.

@cybertoast
Copy link
Collaborator

Hi Randie,
A few questions:

  • What webserver are you running?
  • Did you configure WSGI for your webserver?
  • Do you see anything in the logs that might indicate what's going wrong?
  • At the very worst, try running the service manually. Go to the root
    folder and run python main.py. This will start the server on port 5000.
    You'll then be able to go to http://your-server-ip:5000/ and you should
    see what's going on.

Cheers
On Tue, Jan 3, 2012 at 1:00 PM, Randie Blom <
[email protected]

wrote:

I am a developer, but not a Python developer, so I am looking for some
help with installation.

here are the steps I have followed.

  1. I have a SUSE Linux distribution.
  2. I have MySQL.
  3. I downloaded the software and unpacked it on the web server.
  4. I created the database, and ran all the database scripts.

The resutls are at http://cbu.milwaukee.gov/cbu/main.py.

Please eamail me at [email protected], if you have suggestions.


Reply to this email directly or view it on GitHub:
#14

@rblom
Copy link
Author

rblom commented Jan 3, 2012

  • What webserver are you running?

Apache on SUSE linux

  • Did you configure WSGI for your webserver?

I did not set up the webserver, and I'm not sure what this is.

  • Do you see anything in the logs that might indicate what's going wrong?

Where are the log files?

  • At the very worst, try running the service manually. Go to the root
    folder and run python main.py. This will start the server on port 5000.
    You'll then be able to go to http://your-server-ip:5000/ and you should
    see what's going on.

when I run python main.py, I get the same framework error message.

-----Original Message-----
From: cybertoast [mailto:[email protected]]
Sent: Tuesday, January 03, 2012 12:07 PM
To: Blom, Randie
Subject: Re: [Change-By-Us] Installation Issues (#14)

Hi Randie,
A few questions:

  • What webserver are you running?
  • Did you configure WSGI for your webserver?
  • Do you see anything in the logs that might indicate what's going wrong?
  • At the very worst, try running the service manually. Go to the root
    folder and run python main.py. This will start the server on port 5000.
    You'll then be able to go to http://your-server-ip:5000/ and you should
    see what's going on.

Cheers
On Tue, Jan 3, 2012 at 1:00 PM, Randie Blom < [email protected]

wrote:

I am a developer, but not a Python developer, so I am looking for some
help with installation.

here are the steps I have followed.

  1. I have a SUSE Linux distribution.
  2. I have MySQL.
  3. I downloaded the software and unpacked it on the web server.
  4. I created the database, and ran all the database scripts.

The resutls are at http://cbu.milwaukee.gov/cbu/main.py.

Please eamail me at [email protected], if you have suggestions.


Reply to this email directly or view it on GitHub:
#14


Reply to this email directly or view it on GitHub:
#14 (comment)

The City of Milwaukee is subject to Wisconsin Statutes related to public
records. Unless otherwise exempted from the public records law,
senders and receivers of City of Milwaukee e-mail should presume that e-mail is subject
to release upon request, and is subject to state records retention
requirements. See City of Milwaukee full e-mail disclaimer at
www.milwaukee.gov/email_disclaimer

@cybertoast
Copy link
Collaborator

What exactly is the framework error message you're getting - ie, what does
"when I run python main.py, I get the same framework error message" mean?
It's not in the previous emails.
Also, log files are in the default Apache log location and in the path as
specified in the config.yaml file. Please ensure that you created the
config.yaml file per the instructions.
I'll add instructions for WSGI and python setup, but I actually recommend
that you use lighttpd per our instructions. Setting up Apache with python
is more complicated.

@rblom
Copy link
Author

rblom commented Jan 3, 2012

Do I use these instructions if I am running SUSE linux?

https://github.com/localprojects/Change-By-Us/wiki/Installation-Instructions-%28Ubuntu%29

the error message is if you go to this link: http://cbu.milwaukee.gov/cbu/main.py

as I said, I am not a python developer.

-----Original Message-----
From: cybertoast [mailto:[email protected]]
Sent: Tuesday, January 03, 2012 1:17 PM
To: Blom, Randie
Subject: Re: [Change-By-Us] Installation Issues (#14)

What exactly is the framework error message you're getting - ie, what does "when I run python main.py, I get the same framework error message" mean?
It's not in the previous emails.
Also, log files are in the default Apache log location and in the path as specified in the config.yaml file. Please ensure that you created the config.yaml file per the instructions.
I'll add instructions for WSGI and python setup, but I actually recommend that you use lighttpd per our instructions. Setting up Apache with python is more complicated.


Reply to this email directly or view it on GitHub:
#14 (comment)

The City of Milwaukee is subject to Wisconsin Statutes related to public
records. Unless otherwise exempted from the public records law,
senders and receivers of City of Milwaukee e-mail should presume that e-mail is subject
to release upon request, and is subject to state records retention
requirements. See City of Milwaukee full e-mail disclaimer at
www.milwaukee.gov/email_disclaimer

@ghost
Copy link

ghost commented Apr 16, 2012

Are you still interested? If so, the ubuntu instructions will give you all the information that you need, just not the location of the files and some of the commands will be different. Like I asked if you are still interested, then I am willing to go through the process for OpenSUSE and document it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants