forked from HVF/franchise
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from CartoDB/master
Docker file and such
- Loading branch information
Showing
4 changed files
with
118 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM node:8.7.0 | ||
|
||
ENV NPM_CONFIG_LOGLEVEL warn | ||
|
||
COPY . . | ||
|
||
RUN npm install | ||
|
||
RUN npm run build --production | ||
|
||
RUN npm install -g serve | ||
|
||
COPY ./reciever.html bundle/ | ||
|
||
CMD serve -s bundle | ||
|
||
EXPOSE 5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#! /bin/sh | ||
|
||
# More info -> https://github.com/CartoDB/solutions/blob/master/doc/source/technical/deploying-to-cartoio.rst | ||
|
||
APP_NAME="franchise-master" | ||
BRANCH_NAME="master" | ||
|
||
git remote remove dokku | ||
git remote add dokku [email protected]:$APP_NAME | ||
git push origin $BRANCH_NAME | ||
ssh [email protected] apps:destroy $APP_NAME | ||
git push dokku $BRANCH_NAME:master | ||
ssh [email protected] certs:add $APP_NAME /home/dokku/tls/server.crt /home/dokku/tls/server.key | ||
ssh [email protected] proxy:ports-add $APP_NAME https:443:5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<script> | ||
window.addEventListener("message", function(e){ | ||
sessionStorage.importData = e.data; | ||
try { | ||
window.top.location.replace(location.href.replace('reciever.html', '')) | ||
} catch (err) { | ||
window.top.location = location.href.replace('reciever.html', '') | ||
} | ||
}, false); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,13 +118,13 @@ address@^1.0.1: | |
version "1.0.2" | ||
resolved "https://registry.yarnpkg.com/address/-/address-1.0.2.tgz#480081e82b587ba319459fef512f516fe03d58af" | ||
|
||
adler-32@~1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/adler-32/-/adler-32-1.0.0.tgz#28728a71756f629666dd1653cd80793a9df18651" | ||
adler-32@~1.2.0: | ||
version "1.2.0" | ||
resolved "https://registry.yarnpkg.com/adler-32/-/adler-32-1.2.0.tgz#6a3e6bf0a63900ba15652808cb15c6813d1a5f25" | ||
integrity sha1-aj5r8KY5ALoVZSgIyxXGgT0aXyU= | ||
dependencies: | ||
concat-stream "" | ||
exit-on-epipe "" | ||
printj "" | ||
exit-on-epipe "~1.0.1" | ||
printj "~1.1.0" | ||
|
||
[email protected]: | ||
version "0.8.2" | ||
|
@@ -1532,11 +1532,13 @@ center-align@^0.1.1: | |
align-text "^0.1.3" | ||
lazy-cache "^1.0.3" | ||
|
||
cfb@~0.11.1: | ||
version "0.11.1" | ||
resolved "https://registry.yarnpkg.com/cfb/-/cfb-0.11.1.tgz#a96db8f272a6c3fb99dbbb23ef41223f48be1ea7" | ||
cfb@~1.0.2: | ||
version "1.0.8" | ||
resolved "https://registry.yarnpkg.com/cfb/-/cfb-1.0.8.tgz#77f213493d697d754fd9c0f5511eab5ad72d02cf" | ||
integrity sha1-d/ITST1pfXVP2cD1UR6rWtctAs8= | ||
dependencies: | ||
commander "" | ||
commander "^2.14.1" | ||
printj "~1.1.2" | ||
|
||
chain-function@^1.0.0: | ||
version "1.0.0" | ||
|
@@ -1690,14 +1692,13 @@ codemirror@^5.18.2, codemirror@^5.28.0: | |
version "5.28.0" | ||
resolved "https://registry.yarnpkg.com/codemirror/-/codemirror-5.28.0.tgz#2978d9280d671351a4f5737d06bbd681a0fd6f83" | ||
|
||
codepage@~1.9.0: | ||
version "1.9.0" | ||
resolved "https://registry.yarnpkg.com/codepage/-/codepage-1.9.0.tgz#6cc6d2372bea8445cfd3ec6bf5f8d864facfae1a" | ||
codepage@~1.12.0: | ||
version "1.12.2" | ||
resolved "https://registry.yarnpkg.com/codepage/-/codepage-1.12.2.tgz#fd4424448c8bf1db5d7e01f9ecf9e8346582a195" | ||
integrity sha512-FAN+oPs/ocaPLFvIt4vEOHgWA6UJ6t+fVbbVBoXDpTpC+4JYasomYZEEjR/Miph3qQrVnIShRwwmwu4P35JW1w== | ||
dependencies: | ||
commander "" | ||
concat-stream "" | ||
exit-on-epipe "" | ||
voc "" | ||
commander "~2.14.1" | ||
exit-on-epipe "~1.0.1" | ||
|
||
color-convert@^0.5.3, color-convert@~0.5.0: | ||
version "0.5.3" | ||
|
@@ -1735,10 +1736,6 @@ colormin@^1.0.5: | |
css-color-names "0.0.4" | ||
has "^1.0.1" | ||
|
||
[email protected]: | ||
version "0.6.2" | ||
resolved "https://registry.yarnpkg.com/colors/-/colors-0.6.2.tgz#2423fe6678ac0c5dae8852e5d0e5be08c997abcc" | ||
|
||
colors@^1.1.0, colors@~1.1.2: | ||
version "1.1.2" | ||
resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63" | ||
|
@@ -1755,12 +1752,27 @@ combined-stream@^1.0.5, combined-stream@~1.0.5: | |
dependencies: | ||
delayed-stream "~1.0.0" | ||
|
||
commander@, commander@2.9.0, [email protected], commander@^2.8.1, commander@^2.9.0, commander@~2.9.0: | ||
[email protected], [email protected], commander@^2.8.1, commander@^2.9.0, commander@~2.9.0: | ||
version "2.9.0" | ||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" | ||
dependencies: | ||
graceful-readlink ">= 1.0.0" | ||
|
||
commander@^2.14.1: | ||
version "2.19.0" | ||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" | ||
integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg== | ||
|
||
commander@~2.13.0: | ||
version "2.13.0" | ||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.13.0.tgz#6964bca67685df7c1f1430c584f07d7597885b9c" | ||
integrity sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA== | ||
|
||
commander@~2.14.1: | ||
version "2.14.1" | ||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.14.1.tgz#2235123e37af8ca3c65df45b026dbd357b01b9aa" | ||
integrity sha512-+YR16o3rK53SmWHU3rEM3tPAh2rwb1yPcQX5irVn7mb0gXbwuCCrnkbV5+PBfETdfg1vui07nM6PCG1zndcjQw== | ||
|
||
commondir@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" | ||
|
@@ -1813,14 +1825,6 @@ [email protected]: | |
version "0.0.1" | ||
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" | ||
|
||
concat-stream@, [email protected]: | ||
version "1.6.0" | ||
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" | ||
dependencies: | ||
inherits "^2.0.3" | ||
readable-stream "^2.2.2" | ||
typedarray "^0.0.6" | ||
|
||
[email protected]: | ||
version "1.5.0" | ||
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.5.0.tgz#53f7d43c51c5e43f81c8fdd03321c631be68d611" | ||
|
@@ -1829,6 +1833,14 @@ [email protected]: | |
readable-stream "~2.0.0" | ||
typedarray "~0.0.5" | ||
|
||
[email protected]: | ||
version "1.6.0" | ||
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" | ||
dependencies: | ||
inherits "^2.0.3" | ||
readable-stream "^2.2.2" | ||
typedarray "^0.0.6" | ||
|
||
configstore@^3.0.0: | ||
version "3.1.1" | ||
resolved "https://registry.yarnpkg.com/configstore/-/configstore-3.1.1.tgz#094ee662ab83fad9917678de114faaea8fcdca90" | ||
|
@@ -1938,12 +1950,13 @@ cosmiconfig@^2.1.0, cosmiconfig@^2.1.1: | |
parse-json "^2.2.0" | ||
require-from-string "^1.1.0" | ||
|
||
crc-32@~1.0.2: | ||
version "1.0.2" | ||
resolved "https://registry.yarnpkg.com/crc-32/-/crc-32-1.0.2.tgz#09507984ee9bcce3bd1b8861f0de8ab10ae8187d" | ||
crc-32@~1.2.0: | ||
version "1.2.0" | ||
resolved "https://registry.yarnpkg.com/crc-32/-/crc-32-1.2.0.tgz#cb2db6e29b88508e32d9dd0ec1693e7b41a18208" | ||
integrity sha512-1uBwHxF+Y/4yF5G48fwnKq6QsIXheor3ZLPT80yGBV1oEUwpPojlEhQbWKVw1VwcTQyMGHK1/XMmTjmlsmTTGA== | ||
dependencies: | ||
exit-on-epipe "" | ||
printj "" | ||
exit-on-epipe "~1.0.1" | ||
printj "~1.1.0" | ||
|
||
create-ecdh@^4.0.0: | ||
version "4.0.0" | ||
|
@@ -2812,9 +2825,10 @@ execa@^0.7.0: | |
signal-exit "^3.0.0" | ||
strip-eof "^1.0.0" | ||
|
||
exit-on-epipe@, exit-on-epipe@~1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/exit-on-epipe/-/exit-on-epipe-1.0.0.tgz#f6e0579c8214d33a08109fd6e2e5c1dbc70463fc" | ||
exit-on-epipe@~1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.yarnpkg.com/exit-on-epipe/-/exit-on-epipe-1.0.1.tgz#0bdd92e87d5285d267daa8171d0eb06159689692" | ||
integrity sha512-h2z5mrROTxce56S+pnvAV890uu7ls7f1kEvVGJbw1OlFH3/mlJ5bkXu0KRyW94v37zzHPiUd55iLn3DA7TjWpw== | ||
|
||
expand-braces@^0.1.1: | ||
version "0.1.2" | ||
|
@@ -3084,11 +3098,10 @@ forwarded@~0.1.0: | |
version "0.1.0" | ||
resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.0.tgz#19ef9874c4ae1c297bcf078fde63a09b66a84363" | ||
|
||
frac@~1.0.6: | ||
version "1.0.6" | ||
resolved "https://registry.yarnpkg.com/frac/-/frac-1.0.6.tgz#9a0dfc23956852a8b320623bebcf1be9ea048229" | ||
dependencies: | ||
voc "" | ||
frac@~1.1.2: | ||
version "1.1.2" | ||
resolved "https://registry.yarnpkg.com/frac/-/frac-1.1.2.tgz#3d74f7f6478c88a1b5020306d747dc6313c74d0b" | ||
integrity sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA== | ||
|
||
[email protected]: | ||
version "0.5.0" | ||
|
@@ -5581,9 +5594,10 @@ pretty-error@^2.0.2: | |
renderkid "^2.0.1" | ||
utila "~0.4" | ||
|
||
printj@: | ||
version "1.0.2" | ||
resolved "https://registry.yarnpkg.com/printj/-/printj-1.0.2.tgz#ecb2ad8b8fdf721fbee039846c67a81eb9e4c249" | ||
printj@~1.1.0, printj@~1.1.2: | ||
version "1.1.2" | ||
resolved "https://registry.yarnpkg.com/printj/-/printj-1.1.2.tgz#d90deb2975a8b9f600fb3a1c94e3f4c53c78a222" | ||
integrity sha512-zA2SmoLaxZyArQTOPj5LXecR+RagfPSU5Kw1qP+jkWeNlrq+eJZyY2oS68SU1Z/7/myXM4lo9716laOFAVStCQ== | ||
|
||
private@^0.1.6: | ||
version "0.1.7" | ||
|
@@ -6563,13 +6577,12 @@ sqlite-parser@^1.0.1: | |
dependencies: | ||
estraverse "^4.2.0" | ||
|
||
ssf@~0.9.4: | ||
version "0.9.4" | ||
resolved "https://registry.yarnpkg.com/ssf/-/ssf-0.9.4.tgz#8e57a98c19dbbf1edd53f0f8c9e7fd524b0f6c9c" | ||
ssf@~0.10.1: | ||
version "0.10.2" | ||
resolved "https://registry.yarnpkg.com/ssf/-/ssf-0.10.2.tgz#65b2b4fcdfd967bc8e8383a41349009893115976" | ||
integrity sha512-rDhAPm9WyIsY8eZEKyE8Qsotb3j/wBdvMWBUsOhJdfhKGLfQidRjiBUV0y/MkyCLiXQ38FG6LWW/VYUtqlIDZQ== | ||
dependencies: | ||
colors "0.6.2" | ||
frac "~1.0.6" | ||
voc "" | ||
frac "~1.1.2" | ||
|
||
sshpk@^1.7.0: | ||
version "1.13.1" | ||
|
@@ -7175,10 +7188,6 @@ [email protected]: | |
dependencies: | ||
indexof "0.0.1" | ||
|
||
voc@: | ||
version "0.5.0" | ||
resolved "https://registry.yarnpkg.com/voc/-/voc-0.5.0.tgz#be6ca7c76e4a57d930cc80f6b31fbd80ca86045c" | ||
|
||
void-elements@^2.0.0: | ||
version "2.0.1" | ||
resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec" | ||
|
@@ -7389,17 +7398,18 @@ xdg-basedir@^3.0.0: | |
version "3.0.0" | ||
resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" | ||
|
||
xlsx@^0.10.8: | ||
version "0.10.8" | ||
resolved "https://registry.yarnpkg.com/xlsx/-/xlsx-0.10.8.tgz#0a6b66bc0c5d1738665ea28f0246f3bbf6411502" | ||
dependencies: | ||
adler-32 "~1.0.0" | ||
cfb "~0.11.1" | ||
codepage "~1.9.0" | ||
commander "~2.9.0" | ||
crc-32 "~1.0.2" | ||
exit-on-epipe "~1.0.0" | ||
ssf "~0.9.4" | ||
xlsx@^0.11.6: | ||
version "0.11.19" | ||
resolved "https://registry.yarnpkg.com/xlsx/-/xlsx-0.11.19.tgz#2f019d9df756f6345aac5bc1af2442cf22a025e3" | ||
integrity sha512-UTfD64o5Ka/E6QHL12fzcq5wnt9MCtuwgoUdYSTDxjjDkhNmZwSfPlJH/+Yh8vE6nU/0ax3MXNrc9AP4haAmIg== | ||
dependencies: | ||
adler-32 "~1.2.0" | ||
cfb "~1.0.2" | ||
codepage "~1.12.0" | ||
commander "~2.13.0" | ||
crc-32 "~1.2.0" | ||
exit-on-epipe "~1.0.1" | ||
ssf "~0.10.1" | ||
|
||
xml-char-classes@^1.0.0: | ||
version "1.0.0" | ||
|