An internal website designed for use on Übertweak and related camps.
This is the lite version which comes with the bare minimum functionality to make the questionnaire work.
- PHP 5.5 or higher.
- PDO and the SQLite3 driver must be available.
- Composer
You will need a web server to run Übersite. Your options are Apache (the files will need to be in a vhost or placed in the webserver root) or PHP's built-in web server.
Run composer install
once in order to download the dependencies that Übersite needs.
Once you've got the web server set up, open the site in the browser and you'll be greeted with a very short setup process which will create the database and allow you to import users.
Run the following to build the container:
$ docker build -t survey . $ docker run survey:latest
and then access your local machine on port 80. Once you have assigned the site name and imported users, you should run the following to import a templated questionaire:
$ docker exec /usr/bin/sqlite3 /var/www/html/config/database.db < ./questionaire_template.sql