merge
This commit is contained in:
commit
7344c85454
|
@ -1 +1,3 @@
|
|||
*.*sw*
|
||||
bower_components/
|
||||
assets/
|
||||
|
|
|
@ -4,8 +4,13 @@ It must be installed to `/srv/walnut/packages/pages/org.oauth3`
|
|||
|
||||
```bash
|
||||
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
|
||||
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`.
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -u
|
||||
# git clone git@git.daplie.com:OAuth3/org.oauth3.git /srv/walnut/packages/pages/org.oauth3
|
||||
|
||||
mkdir -p assets
|
||||
if [ -d ./assets/org.oauth3 ]; then
|
||||
git clone git@git.daplie.com:OAuth3/oauth3.js.git ./assets/org.oauth3
|
||||
if ! [ -d ./assets/org.oauth3 ]; then
|
||||
git clone git@git.daplie.com:OAuth3/oauth3.js.git ./assets/org.oauth3
|
||||
fi
|
||||
pushd ./assets/org.oauth3
|
||||
git checkout v1
|
||||
|
|
Loading…
Reference in New Issue