-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
29 lines (22 loc) · 1.08 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
quickeval.org Source Code!
How do I get running?:
0. create a mysql database named quickeval (remember the credentials you use!)
1. run the db/quickeval.sql script against the new database
2. copy www/.htaccess.example and rename www/.htaccess
3. make necessary changes in .htaccess (they are commented)
4. copy lib/config.yaml.example and rename lib/config.yaml
5. make all changes in config.yaml (they are also commented - you'll need the DB login info from 0.)
6. point MAMP/WAMP/whatever to the quickeval/www root (www root, not quickeval root)
7. default login is [email protected]/test
Directory Structure:
/db - login information - strictly informative
/lib - library for PHP functions
/templates - templates for the site
/test - test cases for the library classes
/www - public html directory
testing on development:
phpunit --configuration devphpunit.xml
Cron-job for email alerts goes like this:
runs at 12:05am daily
5 0 * * * curl "http://www.quickeval.org/24hourEmailReminder?access_token=aa2kk2n1g230c8ugfy482" >/dev/null 2>&1
make sure you have that access token included in the URL.