cloudyuga / rsvpapp Goto Github PK
View Code? Open in Web Editor NEWSample RSVP application
License: Apache License 2.0
Sample RSVP application
License: Apache License 2.0
`
Step 9/10 : RUN pip3 install -r requirements.txt
---> Running in 0c2795ada0bf
Collecting flask (from -r requirements.txt (line 1))
� Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f792376fbe0>: Failed to establish a new connection: [Errno -3] Try again',)': /simple/flask/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f791eb602b0>: Failed to establish a new connection: [Errno -3] Try again',)': /simple/flask/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f791eb60208>: Failed to establish a new connection: [Errno -3] Try again',)': /simple/flask/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f791eb60c88>: Failed to establish a new connection: [Errno -3] Try again',)': /simple/flask/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f791eb60ef0>: Failed to establish a new connection: [Errno -3] Try again',)': /simple/flask/
Could not find a version that satisfies the requirement flask (from -r requirements.txt (line 1)) (from versions: )
�No matching distribution found for flask (from -r requirements.txt (line 1))
�mtime="2019-11-06T09:34:39Z" level=fatal msg="build failed: build failed: building [can.shen/rsvpapp]: build artifact: unable to stream build output: The command '/bin/sh -c pip3 install -r requirements.txt' returned a non-zero code: 1"
`
Hello @cloudyuga team, I'm very much enjoying the CloudYuga guide CI/CD with Jenkins & ArgoCD to learn these technologies.
The issue is, there's a "Lab URLs" section which is referenced 4 times in the article ("top right of this page"), however, I'm not seeing this section anywhere on the web page.
Thanks in advance for your help in improving the tutorial/guide for future learners.
In ./templates/profile.html
, the loop that iterates over the items in the table is off by one line creating invalid html. <tbody><tr>
is inside the loop while </tr></tbody>
is outside the loop. I don't believe you meant to define a new table body for every row and not terminate any but the last so you want tr
inside the loop and tbody
outside of it.
Current code:
{% for item in items %}
<tbody>
<tr class="danger">
<td class="text-center">{{ item.name }} </td>
<td class="text-center">{{ item.email }}</td>
{% endfor %}
</tr>
</tbody>
Corrected code:
<tbody>
{% for item in items %}
<tr class="danger">
<td class="text-center">{{ item.name }} </td>
<td class="text-center">{{ item.email }}</td>
</tr>
{% endfor %}
</tbody>
I can fork the repo and submit a pull request if you don't have time to fix it.
When I am trying to build this rsvp app I am getting this
dockuser@Test-LPAR-Ubuntu:/rsvp_files$ sudo docker build --no-cache -t rsvp ./rsvp_files$
Sending build context to Docker daemon 14.85 kB
Step 1/10 : FROM teamcloudyuga/python:alpine
---> b0c552b8cf64
Step 2/10 : COPY . /usr/src/app
---> 497a21d01132
Removing intermediate container bec636845ac8
Step 3/10 : WORKDIR /usr/src/app
---> 3e00477ca6ea
Removing intermediate container 4a6b5abd2224
Step 4/10 : ENV LINK http://www.meetup.com/cloudyuga/
---> Running in eaeaf609f67c
---> 82124b40e12e
Removing intermediate container eaeaf609f67c
Step 5/10 : ENV TEXT1 CloudYuga
---> Running in 895779099a35
---> 33dbc082c94e
Removing intermediate container 895779099a35
Step 6/10 : ENV TEXT2 Garage RSVP!
---> Running in ce37f915cfc2
---> 68e5559e73bb
Removing intermediate container ce37f915cfc2
Step 7/10 : ENV LOGO https://raw.githubusercontent.com/cloudyuga/rsvpapp/master/static/cloudyuga.png
---> Running in b9490015d328
---> 72056c453f3e
Removing intermediate container b9490015d328
Step 8/10 : ENV COMPANY CloudYuga Technology Pvt. Ltd.
---> Running in 93b6d9a16e12
---> 83d07470a4e7
Removing intermediate container 93b6d9a16e12
Step 9/10 : RUN pip install -r requirements.txt
---> Running in 0d279152c6a9
standard_init_linux.go:178: exec user process caused "exec format error"
The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1
dockuser@Test-LPAR-Ubuntu:
Content of Dockerfile as copied from webpage
dockuser@Test-LPAR-Ubuntu:/rsvp_files$ cat Dockerfile/rsvp_files$
FROM teamcloudyuga/python:alpine
COPY . /usr/src/app
WORKDIR /usr/src/app
ENV LINK http://www.meetup.com/cloudyuga/
ENV TEXT1 CloudYuga
ENV TEXT2 Garage RSVP!
ENV LOGO https://raw.githubusercontent.com/cloudyuga/rsvpapp/master/static/cloudyuga.png
ENV COMPANY CloudYuga Technology Pvt. Ltd.
RUN pip install -r requirements.txt
CMD python rsvp.py
dockuser@Test-LPAR-Ubuntu:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.