4 Commits
Author SHA1 Message Date
jorge e2062366d1 Added a basic docker-compose.yml file. 2026-10-07 16:27:42 -07:00
jorge e7d4884625 Started working on a Dockerfile 2026-10-07 16:18:42 -07:00
jorge d3c50962c0 Started working on a Dockerfile 2026-10-07 14:29:34 -07:00
jorge 38a04571ce Work in progress. 2026-10-07 13:34:06 -07:00
11 changed files with 146 additions and 96 deletions
Regular → Executable
View File
+7
View File
@@ -0,0 +1,7 @@
FROM python:3.14.8-slim-trixie
WORKDIR /app
COPY . /app
RUN pip install -r requirements.txt
EXPOSE 5000
CMD ["flask","run","--debug","--host", "0.0.0.0"]
Binary file not shown.
BIN
View File
Binary file not shown.
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 20 KiB

+52 -17
View File
@@ -16,11 +16,29 @@
font-family: abelRegular; /* set name */
src: url(/static/font/Abel-Regular.woff); /* url of the font */
}
@font-face {
font-family: abelProBold; /* set name */
src: url(/static/font/Abel-Pro-Bold.otf); /* url of the font */
}
@font-face {
font-family: Stickup;
src: url(/static/font/Stickup.otf/);
font-display:swap;
}
html{
transition: all cubic-bezier(0.075, 0.82, 0.165, 1);
max-width: 100%;
font-family: abelRegular;
font-size: 1.25em;
line-height: .9em;
scroll-behavior: smooth;
}
#section1{
height:100vh;
display: flex;
flex-direction: column;
-ms-flex-align: center;
}
body{
background-color: var(--violet-main-color);
@@ -39,7 +57,7 @@ body{
}
.ride_date{
display: block;
padding: .5em;
padding: .25em;
}
.next_ride_date{
color:var(--wr-yellow);
@@ -48,27 +66,17 @@ body{
color: #390747;
}
h1,h3{
font-family: abelProBold;
line-height: .9em;
font-weight: bold;
color: var(--wr-yellow);
}
/* h1{
font-size: 3em;
}
h2{
font-size: 2.5em;
}
h3{
font-size: 2em;
}
h4{
font-size: 1.5em;
}
h5{
font-size: 1.25em;
} */
img{
padding: .5em;
max-width: 100%;
}
img.icon{
max-width: 100%;
max-height: 3em;
float: left;
@@ -77,15 +85,25 @@ img.emwrlogo{
max-width: 100%;
max-height: 8em;
}
p{
margin: 1em;
padding: 1em;
}
img.map{
max-width: 100%;
max-height: 50em;
}
div{
max-width: 100%;
}
div.page{
display: flex;
justify-content: center;
align-items: center;
max-width: 45em;
max-width: 100%;
/* max-height: 100%; */
overflow: scroll;
}
div.container{
display: flex;
@@ -93,10 +111,27 @@ div.container{
max-width: 50em;
align-items:center;
}
div.next_ride_reminder{
#next_ride_reminder{
color: var(--wr-yellow);
font-family: abelProBold;
position: fixed;
overflow-y: scroll;
overflow-x: hidden;
bottom: 1em;
right: 1em;
}
div.box{
background-color: rgba(255, 255, 255, 0.25);
padding: .5em;
border-radius: 0.5em;
}
@media (max-width: 768px) and (orientation: portrait) {
div.page{
max-width: 95%;
}
img.emwrlogo{
max-width: 100%;
max-height: 4em;
}
}
+51 -42
View File
@@ -3,46 +3,55 @@
<!-- <h1>Hello, {{ user.username }}!</h1> -->
<div class="page">
<div class="container">
<img class="emwrlogo" src="/static/img/wr_logo.svg"></br>
<a class="ccwr_url" href="www.ccwalkandroll.com">www.ccwalkandroll.com</a></br>
<img class="icon" src="/static/img/wr_phone.svg">
<p>
If you don't have your tags, ask for one from one of our volunteers to get participation credit!
</p>
<h1>
Ride, scoot or walk with us on December 5th!
</h1>
<p>
Join us this Dec 5th for a group ride/walk from one of our three locations. We will depart at 8:25am.
</p>
<img class="icon" src="/static/img/wr_icons.svg">
<h2>
We'll have delicious treats for all of you at the front gate!!!
</h2>
<img class="icon" src="/static/img/wr_comment.svg">
<h4>
On other days...
</h4>
<h3>
TAKE THE 3 BLOCK CHALLENGE!
</h3>
<p><strong>
Park 3 blocks away from school and walk in with your child.
</strong>
</p>
<p>
There are plenty of convenient spots in the neighborhood. Not only will it help reduce traffic and pollution around El Marino, you'll save yourself the hassle of hunting for parking while giving yourself and your child a calmer and healthier start to the day. Just leave home 5 minutes earlier, park a few blocks from school, and walk in together.You'll be amazed at what a difference it makes!
</p>
<img class="icon" src="/static/img/wr_marked_map.svg">
<h3>
Starting Locations
</h3>
<img class="map" src="/static/img/map_v2.svg">
<p>
Come to one of our three convenient locations the first Friday of every month of the school year:
</p>
<div class="container" id="section1">
<img class="emwrlogo" src="/static/img/wr_logo.svg"></br>
<a class="ccwr_url" href="www.ccwalkandroll.com">www.ccwalkandroll.com</a></br>
<div class="box">
<img class="icon" src="/static/img/wr_phone.svg">
<p>
If you don't have your tags,<br>ask for one from one of our volunteers<br>to get participation credit!
</p>
</div>
<div>
<h1>Ride, scoot or walk with us on December 5th!</h1>
</div>
<p>
Join us this Dec 5th for a group ride/walk from one of our three locations. We will depart at 8:25am.
</p>
<img class="icon" src="/static/img/wr_icons.svg">
<h2>
We'll have delicious treats for all of you at the front gate!!!
</h2>
<a href="#section2">section2</a>
</div>
<div class="container" id="section2">
<div class="box">
<img class="icon" src="/static/img/wr_comment.svg">
<h4>
On other days...
</h4>
<h3>
TAKE THE 3 BLOCK CHALLENGE!
</h3>
<p><strong>
Park 3 blocks away from school and walk in with your child.
</strong>
</p>
</div>
<p>
There are plenty of convenient spots in the neighborhood. Not only will it help reduce traffic and pollution around El Marino, you'll save yourself the hassle of hunting for parking while giving yourself and your child a calmer and healthier start to the day. Just leave home 5 minutes earlier, park a few blocks from school, and walk in together.You'll be amazed at what a difference it makes!
</p>
<img class="icon" src="/static/img/wr_marked_map.svg">
<h3>
Starting Locations
</h3>
<img class="map" src="/static/img/map_v2.svg">
<p>
Come to one of our three convenient locations the first Friday of every month of the school year:
</p>
</div>
<div class="row" >
<img class="icon" src="/static/img/wr_calendar.svg">
{% for ride in rides %}
@@ -61,9 +70,9 @@
<div><p>{{ post.author.username }} says: <b>{{ post.body }} </b></p><div></div>
{% endfor %} -->
</div>
<div class="next_ride_reminder">
<div class="box" id="next_ride_reminder">
<img class="icon" src="/static/img/wr_calendar.svg">
<p class="next_ride_date">
<p>
Dec 5th
</p>
</div>
+1 -2
View File
@@ -1,4 +1,3 @@
1979/10/16
2026/10/02
2026/11/06
2026/12/04
@@ -7,4 +6,4 @@
2027/03/12
2027/04/09
2027/05/07
2027/06/04
2027/06/04
+11
View File
@@ -0,0 +1,11 @@
---
version: "2"
services:
emwr_flask:
container_name: emwr_flask
image: emwr:latest
restart: always
networks:
- default
ports:
- "5005:5000/udp"
Regular → Executable
View File
Regular → Executable
View File