move styles to layout; zappa settings private; update gitignore/pipfile

This commit is contained in:
crflynn
2018-04-10 22:25:08 -04:00
parent d0109364d6
commit 80ec4f6582
5 changed files with 25 additions and 39 deletions

6
.gitignore vendored
View File

@@ -12,3 +12,9 @@ __pycache__
# ignore
ignore/
# packaged deployments
*.zip
# zappa settings
zappa_settings.json

12
Pipfile
View File

@@ -10,12 +10,12 @@ name = "pypi"
google-cloud-bigquery = "*"
pandas = "*"
"psycopg2" = "*"
flask = "*"
github-flask = "*"
flask-sqlalchemy = "*"
flask-migrate = "*"
flask-login = "*"
flask-wtf = "*"
Flask = "*"
GitHub-Flask = "*"
Flask-SQLAlchemy = "*"
Flask-Migrate = "*"
Flask-Login = "*"
Flask-WTF = "*"
zappa = "*"

27
Pipfile.lock generated
View File

@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
"sha256": "5330c2fa770e92623fdbbbc38ef22814315904c457993c6a34c993f34ab3fea8"
"sha256": "f00e05278f16f93aec905d0408ca9e786385d8f3a2a29dc5a1b7b6b65aca8383"
},
"host-environment-markers": {
"implementation_name": "cpython",
@@ -49,17 +49,17 @@
},
"boto3": {
"hashes": [
"sha256:4c746d55fb6294c11e78db76648c7f321f8068dc5ab402456b5e3e4ee52423b9",
"sha256:5c02372447e07bd67f7c19624642dcf5c7aabe126e1c44ff4ad241aeb97fc729"
"sha256:13ad5f64a247d655a27dca83274588e9d14cba61b38d3d4fd2b011b7197d88dd",
"sha256:a56b21efbc994580fc9cef454f0f949745c152326f939aed6609d1c47b2a0f8f"
],
"version": "==1.7.2"
"version": "==1.7.4"
},
"botocore": {
"hashes": [
"sha256:8ded801591ef5df04244dc1ba2496dd04a9abbd165d0d2ad501b6cd4b34946d4",
"sha256:27945af4bfb2a1ff1f11c730d24b84da6e1f40465907029e8980903f3b984070"
"sha256:77f2869b8c27afbab78b72ce6b74c75923421f364c7a0153ac1a38858c59cd91",
"sha256:5602738392ecde5c02a06a3b02de07171f440a44cdfef0aadff4b59567359607"
],
"version": "==1.10.2"
"version": "==1.10.4"
},
"cachetools": {
"hashes": [
@@ -421,17 +421,10 @@
},
"pytz": {
"hashes": [
"sha256:ed6509d9af298b7995d69a440e2822288f2eca1681b8cce37673dbb10091e5fe",
"sha256:f93ddcdd6342f94cea379c73cddb5724e0d6d0a1c91c9bdef364dc0368ba4fda",
"sha256:61242a9abc626379574a166dc0e96a66cd7c3b27fc10868003fa210be4bff1c9",
"sha256:ba18e6a243b3625513d85239b3e49055a2f0318466e0b8a92b8fb8ca7ccdf55f",
"sha256:07edfc3d4d2705a20a6e99d97f0c4b61c800b8232dc1c04d87e8554f130148dd",
"sha256:3a47ff71597f821cd84a162e71593004286e5be07a340fd462f0d33a760782b5",
"sha256:5bd55c744e6feaa4d599a6cbd8228b4f8f9ba96de2c38d56f08e534b3c9edf0d",
"sha256:887ab5e5b32e4d0c86efddd3d055c1f363cbaa583beb8da5e22d2fa2f64d51ef",
"sha256:410bcd1d6409026fbaa65d9ed33bf6dd8b1e94a499e32168acfc7b332e4095c0"
"sha256:65ae0c8101309c45772196b21b74c46b2e5d11b6275c45d251b150d5da334555",
"sha256:c06425302f2cf668f1bba7a0a03f3c1d34d4ebeef2c72003da308b3947c7f749"
],
"version": "==2018.3"
"version": "==2018.4"
},
"pyyaml": {
"hashes": [

View File

@@ -3,7 +3,8 @@
<head>
<!-- <script type="text/javascript"> // var host = "example.com"; // if ((host == window.location.host) && (window.location.protocol != "https:")) // window.location.protocol = "https"; </script> -->
<link rel="stylesheet" href="/static/style.css">
<!-- <link rel="stylesheet" href="/static/style.css"> -->
<style>a small,a:hover small{color:#777}dt,th{color:#444}dl,hr,ol,p,pre,table,ul{margin:0 0 20px}.btn,.btn:hover,a{text-decoration:none}body{background-color:#fff;padding:.4in;font:16px/1.5 "Noto Sans","Helvetica Neue",Helvetica,Arial,sans-serif;color:#727272;font-weight:400;overflow:auto}footer,header{float:left;position:fixed;-webkit-font-smoothing:subpixel-antialiased}dt,strong{font-weight:700}h1,h2,h3,h4,h5,h6{color:#222;margin:0 0 20px}h1,h2,h3{line-height:1.1}h1{font-size:28px}h2{color:#393939}h3,h4,h5,h6{color:#494949}a{color:#39c}a:hover{color:#069}a small{font-size:11px;margin-top:-.3em;display:block}blockquote{border-left:1px solid #e5e5e5;margin:0;padding:0 0 0 20px;font-style:italic}code,pre{font-family:Monaco,Bitstream Vera Sans Mono,Lucida Console,Terminal,Consolas,Liberation Mono,DejaVu Sans Mono,Courier New,monospace;color:#333;font-size:12px}pre{padding:5px;background:#f8f8f8;border-radius:5px;border:1px solid #e5e5e5;overflow-x:auto}table{border-collapse:collapse}td,th{text-align:left;padding:2px 10px;border-bottom:1px solid #e5e5e5}img{max-width:100%}header{width:200px}header ul{list-style:none;height:40px;padding:0;background:#f4f4f4;border-radius:5px;border:1px solid #e0e0e0;width:270px}header li{width:89px;float:left;border-right:1px solid #e0e0e0;height:40px}header li:first-child a{border-radius:5px 0 0 5px}header li:last-child a{border-radius:0 5px 5px 0}header ul a{line-height:1;font-size:11px;color:#999;display:block;text-align:center;padding-top:6px;height:34px}header ul a:hover{color:#999}header ul a:active{background-color:#f0f0f0}strong{color:#222}header ul li+li+li{border-right:none;width:89px}header ul a strong{font-size:14px;display:block;color:#222}section{padding-left:225px;padding-bottom:20px}small{font-size:11px}hr{border:0;background:#e5e5e5;height:1px}footer{width:200px;bottom:20px}.btn{background:#f5c56c;background-image:-webkit-linear-gradient(top,#f5c56c,#b8842b);background-image:-moz-linear-gradient(top,#f5c56c,#b8842b);background-image:-ms-linear-gradient(top,#f5c56c,#b8842b);background-image:-o-linear-gradient(top,#f5c56c,#b8842b);background-image:linear-gradient(to bottom,#f5c56c,#b8842b);-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;text-shadow:1px 1px 3px #666;font-family:Arial;color:#fff;font-size:14px;padding:5px 10px}.btn:hover{background:#e08c43;background-image:-webkit-linear-gradient(top,#e08c43,#de9347);background-image:-moz-linear-gradient(top,#e08c43,#de9347);background-image:-ms-linear-gradient(top,#e08c43,#de9347);background-image:-o-linear-gradient(top,#e08c43,#de9347);background-image:linear-gradient(to bottom,#e08c43,#de9347)}@media print,screen and (max-width:960px){body{padding:0}div.wrapper{width:auto;margin:0}footer,header,section{float:none;position:static;width:auto}header{padding-right:320px}section{border:1px solid #e5e5e5;border-width:1px 0;padding:20px 0;margin:0 0 20px}header a small{display:inline}header ul{position:absolute;right:50px;top:52px}}@media print,screen and (max-width:720px){body{word-wrap:break-word}header{padding:0}header p.view,header ul{position:static}code,pre{word-wrap:normal}}@media print,screen and (max-width:480px){body{padding:0}header ul{width:99%}header li,header ul li+li+li{width:33%}}@media print{body{font-size:12pt;color:#444}}</style>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>
@@ -88,4 +89,4 @@
</body>
</html>
</html>

View File

@@ -1,14 +0,0 @@
{
"dev": {
"app_function": "pypistats.run.app",
"aws_region": "us-east-1",
"environment_variables": {
"ENV": "dev"
},
"profile_name": "default",
"project_name": "pypistats",
"remote_env": "s3://pypistats/config/env_vars_dev.json",
"runtime": "python3.6",
"s3_bucket": "pypistats"
}
}