org.oauth3 -> oauth3.org

This commit is contained in:
aj 2017-08-15 20:26:10 +00:00
parent 3645d66f5c
commit 7d18f05baf
3 changed files with 12 additions and 12 deletions

View File

@ -1,16 +1,16 @@
This is a WALNUT module representing the html package for oauth3.org.
It must be installed to `/srv/walnut/packages/pages/org.oauth3`
It must be installed to `/srv/walnut/packages/pages/azp@oauth3.org`
```bash
git clone git@git.daplie.com:OAuth3/org.oauth3.git /srv/walnut/packages/pages/org.oauth3
pushd /srv/walnut/packages/pages/org.oauth3
git clone git@git.daplie.com:OAuth3/org.oauth3.git /srv/walnut/packages/pages/azp@oauth3.org
pushd /srv/walnut/packages/pages/azp@oauth3.org
bash ./install.sh
popd
```
```bash
echo "org.oauth3" >> /srv/walnut/packages/sites/EXAMPLE.COM
echo "azp@oauth3.org" >> /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/azp@oauth3.org/assets/oauth3.org`.

View File

@ -145,9 +145,9 @@
<script src="./js/jquery-2.2.0.min.js"></script>
<script src="./js/jquery.mask.min.js"></script>
<script src="./js/bootstrap.min.js"></script>
<script src="/assets/org.oauth3/oauth3.core.js"></script>
<script src="/assets/org.oauth3/oauth3.crypto.js"></script>
<script src="/assets/org.oauth3/oauth3.issuer.js"></script>
<script src="/assets/oauth3.org/oauth3.core.js"></script>
<script src="/assets/oauth3.org/oauth3.crypto.js"></script>
<script src="/assets/oauth3.org/oauth3.issuer.js"></script>
<script src="./js/issuer.js"></script>
<script src="./js/script.js"></script>

View File

@ -2,13 +2,13 @@
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/azp@oauth3.org
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/oauth3.org ]; then
git clone git@git.daplie.com:OAuth3/oauth3.js.git ./assets/oauth3.org
fi
pushd ./assets/org.oauth3
pushd ./assets/oauth3.org
git checkout v1
git pull
popd