Update README.md
This commit is contained in:
31
README.md
31
README.md
@@ -2,33 +2,8 @@
|
|||||||
|
|
||||||
Pine Creek website
|
Pine Creek website
|
||||||
|
|
||||||
Preview locally (static):
|
This is the next generation Public Website for the Pine Creek Community in Kannapolis, NC
|
||||||
|
|
||||||
You can preview the static site by serving the project root. Two simple options:
|
It is designed to be static in nature to host at no cost using cloudflare pages, and responsive in design to support clients on desktop, mobile, and tablet.
|
||||||
|
|
||||||
1) Python's simple HTTP server (static):
|
Current Shell Includes overall design language and placeholder graphics.
|
||||||
|
|
||||||
```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.
|
|
||||||
Reference in New Issue
Block a user