Update README.md: add cron.php to installation instructions

This commit is contained in:
jelhan 2016-05-23 12:02:18 +02:00
parent 777dbeeb51
commit b7d7953c30

View file

@ -49,12 +49,13 @@ Afterwards copy all files in /dist folder to your werbserver.
* `data/` folder has to be writeable by web server.
* HTTPS connection should be forced. You should consider using [HTTP Strict Transport Security](https://developer.mozilla.org/en-US/docs/Web/Security/HTTP_strict_transport_security) (HSTS) and [HTTP Public Key Pinning](https://developer.mozilla.org/en-US/docs/Web/Security/Public_Key_Pinning) (HPKP).
* [Content-Security-Policy](http://content-security-policy.com/) (CSP) should be used. Default CSP headers are provided in `.htaccess` file but commented out.
* Execute `php api/cron.php` on a regular basis to delete outdated polls. A cronjob running once a day should be fine.
## Running tests
### Ember
Prefered way is to run tests against PhantomJS, Chrome and Firefox
by `ember test --server`. Results are reported in command-line and
by `ember test --server`. Results are reported in command-line and
browser.
Files are watched for changes.