Skip to content
No description, website, or topics provided.
JavaScript Python HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

Flask application for

This is the web application which powers

This project is licensed under the Apache 2.0 License.


To run this website, you'll need to first setup a development environment.

This project requires Python 2.6 (as that is what is on our old web server).


Next use `virtualenv` to create a virtualenv:

$ python -m virutalenv venv


Install the web framework dependencies:

$ pip install -U Flask

Install the domain (ROS) specific dependencies:

$ pip install -U ros_buildfarm rosinstall_generator vcstools

Running Locally

If you are developing on this project or otherwise want to run it locally, just invoke Flask:

$ PYTHONPATH=`pwd` FLASK_DEBUG=1 FLASK_APP=prerelease_website flask run

The PYTHONPATH assumes you're in the root of this repository, and makes the application importable. The FLASK_DEBUG option provides tracebacks in the web pages when something goes wrong. FLASK_APP is how you tell Flask what module to import for your application.

Setup with Apache

We are using these apache configurations on

<VirtualHost *:80>

  DocumentRoot /var/www/prerelease_website/

  <Directory /var/www/prerelease_website/prerelease_website>
    Order allow,deny
    Allow from all

  <Directory /var/www/prerelease_website/prerelease_website/static>
    Order allow,deny
    Allow from all

  WSGIDaemonProcess processes=2 threads=15 display-name=%{GROUP}

  WSGIScriptAlias / /var/www/prerelease_website/prerelease_website/apache/flask.wsgi

  LogFormat "%h %l %u %t %D \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" simple
  CustomLog "|/usr/sbin/rotatelogs /var/log/httpd/ 86400" simple
  ErrorLog "|/usr/sbin/rotatelogs /var/log/httpd/ 86400"

And as you can see it is using the flask.wsgi file in this repository, which assumes the repository is placed at /var/www/prerelease_website and that the virtualenv is in that folder and called venv.

You can’t perform that action at this time.