merge
This commit is contained in:
commit
7344c85454
|
@ -1 +1,3 @@
|
||||||
*.*sw*
|
*.*sw*
|
||||||
|
bower_components/
|
||||||
|
assets/
|
||||||
|
|
|
@ -4,8 +4,13 @@ It must be installed to `/srv/walnut/packages/pages/org.oauth3`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone git@git.daplie.com:OAuth3/org.oauth3.git /srv/walnut/packages/pages/org.oauth3
|
git clone git@git.daplie.com:OAuth3/org.oauth3.git /srv/walnut/packages/pages/org.oauth3
|
||||||
git checkout fs-nosql
|
pushd /srv/walnut/packages/pages/org.oauth3
|
||||||
bash ./install.sh
|
bash ./install.sh
|
||||||
|
popd
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
echo "org.oauth3" >> /srv/walnut/packages/sites/EXAMPLE.COM
|
||||||
```
|
```
|
||||||
|
|
||||||
This uses the OAuth3 JavaScript SDK `oauth3.js` as a subpackage in `/srv/walnut/packages/pages/org.oauth3/assets/org.oauth3`.
|
This uses the OAuth3 JavaScript SDK `oauth3.js` as a subpackage in `/srv/walnut/packages/pages/org.oauth3/assets/org.oauth3`.
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
# git clone git@git.daplie.com:OAuth3/org.oauth3.git /srv/walnut/packages/pages/org.oauth3
|
# git clone git@git.daplie.com:OAuth3/org.oauth3.git /srv/walnut/packages/pages/org.oauth3
|
||||||
|
|
||||||
mkdir -p assets
|
mkdir -p assets
|
||||||
if [ -d ./assets/org.oauth3 ]; then
|
if ! [ -d ./assets/org.oauth3 ]; then
|
||||||
git clone git@git.daplie.com:OAuth3/oauth3.js.git ./assets/org.oauth3
|
git clone git@git.daplie.com:OAuth3/oauth3.js.git ./assets/org.oauth3
|
||||||
fi
|
fi
|
||||||
pushd ./assets/org.oauth3
|
pushd ./assets/org.oauth3
|
||||||
|
|
Loading…
Reference in New Issue