Skip to content

Installation notes for running the testing web app locally

Eric Harris-Braun edited this page May 21, 2015 · 1 revision

We have some testing code in the web sub-directory of the repo that renders semantic trees in a browser. Here are instructions for creating a local web-server instance so you can just point your browser to localhost:8080 to view the testing web-app.

Ubuntu (14.10 and up)

  • Add a ceptr.conf virtual host file to /etc/apache2/sites-available that looks like the sample virtual host file below (don't forget to change the path /home/eric/code/metacurrency/ceptr/ to where ever you've cloned ceptr on your machine).

  • enable the site with: sudo a2ensite ceptr from the command line

  • reload apache with: sudo service apache2 reload from the command line

Sample ceptr.conf file:

<VirtualHost *:8080>
    
    ServerAdmin webmaster@localhost
    DocumentRoot /home/eric/code/metacurrency/ceptr/web
    
    <Directory /home/eric/code/metacurrency/ceptr/web>
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Require all granted
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
    
</VirtualHost>
Clone this wiki locally