summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAustin <austi_gillm935@ahapps.anoka.k12.mn.us>2016-06-29 03:53:42 +0200
committerGitHub <noreply@github.com>2016-06-29 03:53:42 +0200
commit54c0ea7c9cc26f42196f50fd9f5ce2027840fae0 (patch)
treefeecf53ee3b85d7791d10b127bdce397d6e0c690 /README.md
parent45b5dcc6f46c184863548a103e3a1d19de68b927 (diff)
parent4e16303887a65cf010983afa784036549362d254 (diff)
Merge pull request #42 from ileyd/patch-6, Closes #39
Added submodule support to Makefile
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 17 insertions, 2 deletions
diff --git a/README.md b/README.md
index 0b7d9a3..6204981 100644
--- a/README.md
+++ b/README.md
@@ -39,12 +39,27 @@ Node, or NPM. So we'll just assume you already have them all running well.
### Compiling
-Assuming you already have Node and NPM working, compilation is easy. Use the
-following shell code:
+First you must get a copy of the pomf code. To do so, clone this git repo.
+If you have no desire for any submodules, which includes the PHP backend, simply run
+```bash
+git clone https://github.com/pomf/pomf
+```
+else, run
```bash
git clone --recursive https://github.com/pomf/pomf
+```
+to automatically fetch all of the submodules as well
+
+Assuming you already have Node and NPM working, compilation is easy. If you would like any additional submodules, or to exclude the default PHP submodule, use the `MODULES="..."` variable.
+
+Run the following commands to do so.
+```bash
cd pomf/
make
+# alternatively
+make MODULES="" # compile no submodules; exclude the default php backend module
+make MODULES="php moe" # compile the php and moe submodules
+#
make install
```
OR