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 */ font-family: abelRegular; /* set name */
src: url(/static/font/Abel-Regular.woff); /* url of the font */ 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{ html{
transition: all cubic-bezier(0.075, 0.82, 0.165, 1); transition: all cubic-bezier(0.075, 0.82, 0.165, 1);
max-width: 100%;
font-family: abelRegular; font-family: abelRegular;
font-size: 1.25em; font-size: 1.25em;
line-height: .9em;
scroll-behavior: smooth;
}
#section1{
height:100vh;
display: flex;
flex-direction: column;
-ms-flex-align: center;
} }
body{ body{
background-color: var(--violet-main-color); background-color: var(--violet-main-color);
@@ -39,7 +57,7 @@ body{
} }
.ride_date{ .ride_date{
display: block; display: block;
padding: .5em; padding: .25em;
} }
.next_ride_date{ .next_ride_date{
color:var(--wr-yellow); color:var(--wr-yellow);
@@ -48,27 +66,17 @@ body{
color: #390747; color: #390747;
} }
h1,h3{ h1,h3{
font-family: abelProBold;
line-height: .9em;
font-weight: bold;
color: var(--wr-yellow); 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{ img{
padding: .5em;
max-width: 100%; max-width: 100%;
} }
img.icon{ img.icon{
max-width: 100%; max-width: 100%;
max-height: 3em; max-height: 3em;
float: left; float: left;
@@ -77,15 +85,25 @@ img.emwrlogo{
max-width: 100%; max-width: 100%;
max-height: 8em; max-height: 8em;
} }
p{
margin: 1em;
padding: 1em;
}
img.map{ img.map{
max-width: 100%; max-width: 100%;
max-height: 50em; max-height: 50em;
} }
div{
max-width: 100%;
}
div.page{ div.page{
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
max-width: 45em;
max-width: 100%; max-width: 100%;
/* max-height: 100%; */
overflow: scroll;
} }
div.container{ div.container{
display: flex; display: flex;
@@ -93,10 +111,27 @@ div.container{
max-width: 50em; max-width: 50em;
align-items:center; align-items:center;
} }
div.next_ride_reminder{ #next_ride_reminder{
color: var(--wr-yellow);
font-family: abelProBold;
position: fixed; position: fixed;
overflow-y: scroll; overflow-y: scroll;
overflow-x: hidden; overflow-x: hidden;
bottom: 1em; bottom: 1em;
right: 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;
}
}
+16 -7
View File
@@ -3,15 +3,19 @@
<!-- <h1>Hello, {{ user.username }}!</h1> --> <!-- <h1>Hello, {{ user.username }}!</h1> -->
<div class="page"> <div class="page">
<div class="container"> <div class="container">
<div class="container" id="section1">
<img class="emwrlogo" src="/static/img/wr_logo.svg"></br> <img class="emwrlogo" src="/static/img/wr_logo.svg"></br>
<a class="ccwr_url" href="www.ccwalkandroll.com">www.ccwalkandroll.com</a></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"> <img class="icon" src="/static/img/wr_phone.svg">
<p> <p>
If you don't have your tags, ask for one from one of our volunteers to get participation credit! If you don't have your tags,<br>ask for one from one of our volunteers<br>to get participation credit!
</p> </p>
<h1> </div>
Ride, scoot or walk with us on December 5th!
</h1> <div>
<h1>Ride, scoot or walk with us on December 5th!</h1>
</div>
<p> <p>
Join us this Dec 5th for a group ride/walk from one of our three locations. We will depart at 8:25am. Join us this Dec 5th for a group ride/walk from one of our three locations. We will depart at 8:25am.
</p> </p>
@@ -19,7 +23,10 @@
<h2> <h2>
We'll have delicious treats for all of you at the front gate!!! We'll have delicious treats for all of you at the front gate!!!
</h2> </h2>
<a href="#section2">section2</a>
</div>
<div class="container" id="section2">
<div class="box">
<img class="icon" src="/static/img/wr_comment.svg"> <img class="icon" src="/static/img/wr_comment.svg">
<h4> <h4>
On other days... On other days...
@@ -31,6 +38,7 @@
Park 3 blocks away from school and walk in with your child. Park 3 blocks away from school and walk in with your child.
</strong> </strong>
</p> </p>
</div>
<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! 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> </p>
@@ -42,6 +50,7 @@
<p> <p>
Come to one of our three convenient locations the first Friday of every month of the school year: Come to one of our three convenient locations the first Friday of every month of the school year:
</p> </p>
</div>
<div class="row" > <div class="row" >
<img class="icon" src="/static/img/wr_calendar.svg"> <img class="icon" src="/static/img/wr_calendar.svg">
@@ -61,9 +70,9 @@
<div><p>{{ post.author.username }} says: <b>{{ post.body }} </b></p><div></div> <div><p>{{ post.author.username }} says: <b>{{ post.body }} </b></p><div></div>
{% endfor %} --> {% endfor %} -->
</div> </div>
<div class="next_ride_reminder"> <div class="box" id="next_ride_reminder">
<img class="icon" src="/static/img/wr_calendar.svg"> <img class="icon" src="/static/img/wr_calendar.svg">
<p class="next_ride_date"> <p>
Dec 5th Dec 5th
</p> </p>
</div> </div>
-1
View File
@@ -1,4 +1,3 @@
1979/10/16
2026/10/02 2026/10/02
2026/11/06 2026/11/06
2026/12/04 2026/12/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