A simple static website that helps the Alpharetta community prepare for natural disasters. It includes current alerts, local resources, safety guides, and an embedded weather widget for real‑time conditions.
You only need a basic static server. The easiest option is Python, which is preinstalled on macOS and most Linux distros.
-
Open a terminal in the project root.
-
Run:
python3 -m http.server 8000
-
Visit
http://localhost:8000/in your browser.
Alternative options:
- Use any static server (e.g.,
npx serve .) if you already have Node.js. - Open directly with an editor’s Live Server plugin.
Deploy from the main branch, serving files from the repository root.
- Initialize git and push to GitHub:
git init git add -A git commit -m "Initial commit" git branch -M main git remote add origin https://github.com/<your-username>/<repo-name>.git git push -u origin main
- In your GitHub repository, go to Settings → Pages.
- Under “Build and deployment”, choose:
- Source: “Deploy from a branch”
- Branch:
main - Folder:
/ (root)
- Save. After it builds, the site will be available at:
https://<your-username>.github.io/<repo-name>/
Notes:
- GitHub Pages requires
index.htmlat the repository root (this project has it). - The weather widget loads a third‑party script; ensure your site is accessible over HTTPS (GitHub Pages is).
.
├── index.html # Home page
├── status.html # Current alerts, school status, local resources
├── supplies.html # Emergency supplies guidance
├── types.html # Types of natural disasters and safety info
├── before-during-after.html # What to do before, during, and after
├── css/
│ └── style.css # Styling (includes Home button styles)
├── js/
│ └── script.js # Basic JS (no build tooling required)
├── images/ # Page images
│ ├── disaster recovery.webp
│ ├── emergency kit.jpeg
│ ├── flooding.jpg
│ ├── heatwaves.jpg
│ ├── seeking shelter.png
│ ├── thunderstrom.jpg
│ ├── wild fire.webp
│ └── winter storm.jpg
└── api/
└── weather.js # Legacy script (not required when using widget)
The status page uses the Forecast7 (weatherwidget.io) widget for Alpharetta with US units.
- Widget anchor is in
status.html:49–55. - The loader script is in
status.html:56–66.
To change location or labels, update the href and data-label_* attributes:
<a class="weatherwidget-io"
href="https://forecast7.com/en/34d08n84d29/alpharetta/?unit=us"
data-label_1="Innovation Academy"
data-label_2=""
data-theme="original">
Innovation Academy Weather
</a>- A consistent “Back to Home” button is present on content pages.
- Styles live in
css/style.cssunder “Home Button Styles” (style.css:245–264). - Page backgrounds use a neutral
#f4f4f4to keep content readable.
- This is a plain HTML/CSS/JS site — no frameworks, bundlers, or environment variables.
- Third‑party widget scripts require internet access to load.
- If you see
404 /@vite/clientin local server logs, ignore it — it’s benign for static sites.
Add your preferred license (MIT recommended). Create LICENSE if you want to formalize reuse.