From 47afbf91ec2e683b5428d9c12084677d78b7d441 Mon Sep 17 00:00:00 2001 From: Jacek Szpot Date: Sat, 15 Oct 2016 14:13:11 +0200 Subject: [PATCH 1/6] add likes+github to top --- front/src/App.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/front/src/App.js b/front/src/App.js index 5b1f284..8baebe3 100644 --- a/front/src/App.js +++ b/front/src/App.js @@ -76,6 +76,13 @@ class App extends Component {
logo

Python AST explorer

+
+
+ + + +
+
From dd7535baf51ebdc1d70cc657ca3e501c64b3e4b4 Mon Sep 17 00:00:00 2001 From: Jacek Szpot Date: Fri, 10 Nov 2017 10:58:22 +0100 Subject: [PATCH 2/6] Adjust footer --- front/src/App.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/src/App.js b/front/src/App.js index 8baebe3..d74fa85 100644 --- a/front/src/App.js +++ b/front/src/App.js @@ -125,7 +125,8 @@ class App extends Component { Want to suggest something? See GitHub or hit hi@exana.io, we're listening.

Hacked up by some random chap from exana.io. Very much inspired by astexplorer.net, thank you!
- By the way, we Host Phabricator, Free Status Pages, Monitor Servers and - soon - provide Buildbot Infrastructure. Come visit? + By the way, we Host Phabricator, Free Status Pages, Monitor Servers. Come visit? +

Be sure to check out hackattic - no nonsense, real-world challenges as well.

); From 02b54abd533c7557b61d7ee03ded27a21352f155 Mon Sep 17 00:00:00 2001 From: Jacek Szpot Date: Fri, 10 Nov 2017 10:05:28 +0000 Subject: [PATCH 3/6] Fix background for JSONTree --- front/src/App.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/front/src/App.css b/front/src/App.css index 1779770..3b63d54 100644 --- a/front/src/App.css +++ b/front/src/App.css @@ -71,6 +71,10 @@ h1 { background: rgb(224, 255, 255); } +#righty ul { + background-color: inherit; +} + @keyframes App-logo-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } From c69b684fb7509f9bf55b2b187bb096be73aa4d63 Mon Sep 17 00:00:00 2001 From: Jacek Szpot Date: Fri, 10 Nov 2017 10:10:14 +0000 Subject: [PATCH 4/6] fix css --- front/src/App.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/App.css b/front/src/App.css index 3b63d54..71b54f3 100644 --- a/front/src/App.css +++ b/front/src/App.css @@ -72,7 +72,7 @@ h1 { } #righty ul { - background-color: inherit; + background-color: inherit !important; } @keyframes App-logo-spin { From df9e7d6d0e1d0923df7cf023c3d730137c56f689 Mon Sep 17 00:00:00 2001 From: Jacek Szpot Date: Mon, 24 Jan 2022 09:04:54 +0000 Subject: [PATCH 5/6] Updated buttons, footer, dockerfile adjustments --- Dockerfile | 6 +++--- front/public/index.html | 1 + front/src/App.css | 1 - front/src/App.js | 20 +++++++------------- 4 files changed, 11 insertions(+), 17 deletions(-) diff --git a/Dockerfile b/Dockerfile index cd92391..9372d8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM python:2.7-alpine +FROM python:3.9-alpine WORKDIR /opt/pyast ADD . /opt/pyast RUN apk update && \ apk add g++ make && \ - apk add nodejs && \ + apk add nodejs npm && \ pip install -r requirements.txt && \ cd /opt/pyast/front && \ npm set progress=false && \ @@ -14,4 +14,4 @@ RUN apk update && \ EXPOSE 4361 -CMD ["gunicorn", "app:app", "-w" "4", "-b", "'0.0.0.0:4361'"] +CMD ["/usr/bin/env", "gunicorn", "app:app", "-w", "1", "-b", "0.0.0.0:4361"] diff --git a/front/public/index.html b/front/public/index.html index f0cb6c7..0f80ff6 100644 --- a/front/public/index.html +++ b/front/public/index.html @@ -14,6 +14,7 @@ Learn how to configure a non-root public URL by running `npm run build`. --> Python AST Explorer +