Merge pull request #491 from colkito/fix/new-webapp-org

Fix/new webapp org
This commit is contained in:
Gustavo Maximiliano Cortez 2014-05-30 11:53:07 -03:00
commit 6988587885
5 changed files with 33 additions and 9 deletions

1
.gitignore vendored
View File

@ -43,6 +43,7 @@ js/copayBundle.js
config.js
webapp/webapp
webapp/download
chrome/copay-chrome-extension
chrome/copay-chrome-extension.zip
firefox/firefox-addon

View File

@ -18,11 +18,11 @@ checkOK() {
# Configs
BUILDDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
APPDIR="$BUILDDIR/webapp"
APPDIR="$BUILDDIR/copay-webapp"
ZIPFILE="copay.zip"
VERSION=`git describe --tags --abbrev=0 | cut -c 2-`
VERSION=`cut -d '"' -f2 $BUILDDIR/../version.js`
DOWNLOADDIR="$APPDIR/download"
DOWNLOADDIR="$BUILDDIR/download"
CHROMEDOWNLOADDIR="$DOWNLOADDIR/chrome"
FIREFOXDOWNLOADDIR="$DOWNLOADDIR/firefox"
ZIPFILE="copay.zip"
@ -61,5 +61,6 @@ mkdir -p $FIREFOXDOWNLOADDIR
mv $ZIPFILE $DOWNLOADDIR
cp "$BUILDDIR/index-download-chrome.html" $CHROMEDOWNLOADDIR/index.html
cp "$BUILDDIR/index-download-firefox.html" $FIREFOXDOWNLOADDIR/index.html
cp "$BUILDDIR/index-download.html" $DOWNLOADDIR/index.html
echo "${OpenColor}${Yellow}\nAwesome! We have a brand new Webapp, enjoy it!${CloseColor}"

View File

@ -9,14 +9,14 @@
<body>
<div class="row">
<h1>Copay Chrome Installation:</h1>
<ul>
<li>Download <a href="copay-chrome-extension.zip">ZIP</a></li>
<ol>
<li>Download the <a href="copay-chrome-extension.zip">ZIP</a></li>
<li>Unpack the ZIP file</li>
<li>Navigate to "chrome://extensions" in your browser</li>
<li>Enable Developer Mode</li>
<li>Click "Load unpacked extension" and select the unzipped folder</li>
<li>Copay is installed!</li>
</ul>
</ol>
</div>
</body>
</html>

View File

@ -9,10 +9,11 @@
<body>
<div class="row">
<h1>Copay Firefox Installation:</h1>
<ul>
<li>Download <a href="copay-firefox-addon.xpi">XPI</a></li>
<ol>
<li>Download the <a href="copay-firefox-addon.xpi">XPI</a></li>
<li>Install the XPI file in Firefox from Addons sections</li>
<li>Copay is installed!</li>
</ul>
</ol>
</div>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Copay Download</title>
<link rel="stylesheet" href="../css/foundation.min.css">
</head>
<body>
<div class="row">
<h1>Copay Installation:</h1>
<ol>
<li>Download the <a href="copay.zip">ZIP</a></li>
<li>Unpack the ZIP file</li>
<li>Enter to "copay-webapp" folder</li>
<li>Open the index.html with your browser (Chrome, Firefox, Opera)</li>
<li>Enjoy Copay!</li>
</ol>
</div>
</body>
</html>