You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,8 @@ UDOIT uses the [QUAIL PHP library](https://code.google.com/p/quail-lib/), which
28
28
29
29
## Installing
30
30
31
+
UDOIT uses php, apache or nginx, and mysql or postresql. For instructions on installing to Heroku, view [HEROKU.md](HEROKU.md). We also support instantly deploying UDOIT: [](https://heroku.com/deploy)
32
+
31
33
### System Requirements
32
34
*PHP 5.4 is required* to run UDOIT without any modifications. We have not tested it on 5.5 or 5.6, but some users have been able to modify the code to work on 5.3.
33
35
@@ -66,6 +68,7 @@ There are only two tables required to run UDOIT. They are:
66
68
### Reports Table
67
69
68
70
```sql
71
+
/* mysql */
69
72
CREATETABLE `reports` (
70
73
`id`int(10) unsigned NOT NULL AUTO_INCREMENT,
71
74
`user_id`int(10) unsigned NOT NULL,
@@ -76,20 +79,41 @@ CREATE TABLE `reports` (
76
79
`suggestions`int(10) unsigned NOT NULL,
77
80
PRIMARY KEY (`id`)
78
81
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
82
+
83
+
/* postgresql */
84
+
CREATETABLEreports (
85
+
id SERIALPRIMARY KEY,
86
+
user_id integer,
87
+
course_id integer,
88
+
file_path text,
89
+
date_run bigint,
90
+
errors integer,
91
+
suggestions integer
92
+
);
79
93
```
80
94
95
+
81
96
### Users Table
82
97
83
98
```sql
99
+
/* mysql */
84
100
CREATETABLE `users` (
85
101
`id`int(10) unsigned NOT NULL,
86
102
`api_key`varchar(255) NOT NULL,
87
103
`date_created`dateNOT NULL,
88
104
PRIMARY KEY (`id`),
89
105
UNIQUE KEY `id` (`id`)
90
106
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
107
+
108
+
/* postgresql */
109
+
CREATETABLEusers (
110
+
id integerCONSTRAINT users_pk PRIMARY KEY,
111
+
api_key varchar(255),
112
+
date_created integer
113
+
);
91
114
```
92
115
116
+
93
117
## Configuration
94
118
Make a copy of `config/localConfig.template.php`, rename it to `localConfig.php`.
95
119
@@ -110,7 +134,7 @@ UDOIT uses Oauth2 to take actions on behalf of the user, you'll need to [sign up
0 commit comments