35 lines
961 B
Markdown
35 lines
961 B
Markdown
# pine-creek-hoa
|
|
|
|
Pine Creek website
|
|
|
|
Preview locally (static):
|
|
|
|
You can preview the static site by serving the project root. Two simple options:
|
|
|
|
1) Python's simple HTTP server (static):
|
|
|
|
```bash
|
|
cd /home/pi/PineCreek/webdev/website
|
|
python3 -m http.server 8000
|
|
# then open http://localhost:8000/index.html
|
|
```
|
|
|
|
2) PHP built-in server (if you prefer):
|
|
|
|
```bash
|
|
cd /home/pi/PineCreek/webdev/website
|
|
php -S localhost:8000
|
|
# then open http://localhost:8000/index.html
|
|
```
|
|
|
|
Notes:
|
|
- A new `index.html` (HTML5, responsive meta) was added alongside the existing `index.php` so you can host on static hosts like GitHub Pages or Google Cloud Storage.
|
|
- SCSS source is in `css/main.scss`. The repo does not include a toolchain; compile SCSS locally if you edit styles:
|
|
|
|
```bash
|
|
# using Dart Sass
|
|
sass css/main.scss css/main.css
|
|
```
|
|
|
|
If you'd like, I can add an npm-based toolchain (package.json + scripts) to automate building SCSS and a deploy script for GitHub Pages.
|