OLD | NEW |
1 Design | 1 Design |
2 ====== | 2 ====== |
3 | 3 |
4 | 4 |
5 Overview | 5 Overview |
6 -------- | 6 -------- |
7 Allows trying out Skia code in the browser. | 7 Allows trying out Skia code in the browser. |
8 | 8 |
9 | 9 |
10 Security | 10 Security |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 121 |
122 The storage layer will be Cloud SQL (a cloud version of MySQL). Back of the | 122 The storage layer will be Cloud SQL (a cloud version of MySQL). Back of the |
123 envelope estimates of traffic come out to a price of a about $1/month. | 123 envelope estimates of traffic come out to a price of a about $1/month. |
124 | 124 |
125 All passwords for MySQL are stored in valentine. | 125 All passwords for MySQL are stored in valentine. |
126 | 126 |
127 To connect to the database from the skia-webtry-b server: | 127 To connect to the database from the skia-webtry-b server: |
128 | 128 |
129 $ mysql --host=173.194.83.52 --user=root --password | 129 $ mysql --host=173.194.83.52 --user=root --password |
130 | 130 |
131 Initial setup of the database, the user, and the only table: | 131 Initial setup of the database, the user, and the tables: |
132 | 132 |
133 CREATE DATABASE webtry; | 133 CREATE DATABASE webtry; |
134 USE webtry; | 134 USE webtry; |
135 CREATE USER 'webtry'@'%' IDENTIFIED BY '<password is in valentine>'; | 135 CREATE USER 'webtry'@'%' IDENTIFIED BY '<password is in valentine>'; |
136 GRANT SELECT, INSERT, UPDATE ON webtry.webtry TO 'webtry'@'%'; | 136 GRANT SELECT, INSERT, UPDATE ON webtry.webtry TO 'webtry'@'%'; |
137 GRANT SELECT, INSERT, UPDATE ON webtry.workspace TO 'webtry'@'%'; | 137 GRANT SELECT, INSERT, UPDATE ON webtry.workspace TO 'webtry'@'%'; |
138 GRANT SELECT, INSERT, UPDATE ON webtry.workspacetry TO 'webtry'@'%'; | 138 GRANT SELECT, INSERT, UPDATE ON webtry.workspacetry TO 'webtry'@'%'; |
139 GRANT SELECT, INSERT, UPDATE ON webtry.source_images TO 'webtry'@'%'; | 139 GRANT SELECT, INSERT, UPDATE ON webtry.source_images TO 'webtry'@'%'; |
140 | 140 |
141 // If this gets changed also update the sqlite create statement in webtry.go
. | 141 // If this gets changed also update the sqlite create statement in webtry.go
. |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 * clike.js - C-like syntax highlighting support | 273 * clike.js - C-like syntax highlighting support |
274 | 274 |
275 Alternatively, we may consider pulling CM as an external dependency at some | 275 Alternatively, we may consider pulling CM as an external dependency at some |
276 point. | 276 point. |
277 | 277 |
278 Installation | 278 Installation |
279 ------------ | 279 ------------ |
280 See the README file. | 280 See the README file. |
281 | 281 |
282 | 282 |
OLD | NEW |