summaryrefslogtreecommitdiff
authorGiulio Cesare Solaroli <giulio.cesare@clipperz.com>2013-05-03 12:35:05 (UTC)
committer Giulio Cesare Solaroli <giulio.cesare@clipperz.com>2013-05-03 12:35:05 (UTC)
commit77c90371a3055d0ad61d48f22207585948c591bf (patch) (unidiff)
treefd26098d4c6ad0aedb167f45d7c371a21b599447
parented2375435d8a2bb5ae6185761619b49ea7f98778 (diff)
downloadclipperz-77c90371a3055d0ad61d48f22207585948c591bf.zip
clipperz-77c90371a3055d0ad61d48f22207585948c591bf.tar.gz
clipperz-77c90371a3055d0ad61d48f22207585948c591bf.tar.bz2
Fixed the markup of the README.md file.
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index b15887d..e44df48 100644
--- a/README.md
+++ b/README.md
@@ -80,24 +80,25 @@ When executed, this script will start listening on localhost:8888.
80 80
81All 'backend' requests (whose path starts with either `/json` or `/dump`) will be forwarded to the actual backend, that is configured as a `ReverseProxyResource` (in the current code: `proxy.ReverseProxyResource('localhost', 8084, '/java-backend')`). 81All 'backend' requests (whose path starts with either `/json` or `/dump`) will be forwarded to the actual backend, that is configured as a `ReverseProxyResource` (in the current code: `proxy.ReverseProxyResource('localhost', 8084, '/java-backend')`).
82All other requests (html files, Javascript code, CSS stylesheets and other resources) will be handled by reading the resource from the filesystem; the proxy is aware of the layout of the project, so it will be able to locate the right resource in the right place. 82All other requests (html files, Javascript code, CSS stylesheets and other resources) will be handled by reading the resource from the filesystem; the proxy is aware of the layout of the project, so it will be able to locate the right resource in the right place.
83 83
84The only file that needs to be `build`, and not read directly from the file system, is the `index.html` file. 84The only file that needs to be `build`, and not read directly from the file system, is the `index.html` file.
85 85
86In order to build this file, the following command should be executed: 86In order to build this file, the following command should be executed:
87 87
88 ./scripts/build --frontends beta gamma gamma.mobile --backends dev 88 ./scripts/build --frontends beta gamma gamma.mobile --backends dev
89 89
90 90
91Once the index.html files have been built (one for each frontend) and a backend is running and has been correctly configured in the proxy script, it is possible to access the different versions of the application at the following URLs: 91Once the index.html files have been built (one for each frontend) and a backend is running and has been correctly configured in the proxy script, it is possible to access the different versions of the application at the following URLs:
92
92 - `http://localhost:8888/beta/index.html` 93 - `http://localhost:8888/beta/index.html`
93 - `http://localhost:8888/gamma/index.html` 94 - `http://localhost:8888/gamma/index.html`
94 - `http://localhost:8888/gamma/index.mobile.html` 95 - `http://localhost:8888/gamma/index.mobile.html`
95 96
96 97
97## Installing 98## Installing
98 99
99### PHP + MySQL backend 100### PHP + MySQL backend
100 101
101* **PHP** 102* **PHP**
102 Once the project has been successfully build, the application needs to be moved in a location where the web server can run it. Everything that is needed is located into `target/php`. 103 Once the project has been successfully build, the application needs to be moved in a location where the web server can run it. Everything that is needed is located into `target/php`.
103 104