70 lines
2.2 KiB
Markdown
70 lines
2.2 KiB
Markdown
# NullCart Promo Website
|
||
|
||
Static promo landing page for [NullCart](https://git.nobswebdev.com/nobswebdev/nullcart) — HTML and CSS only, zero JavaScript.
|
||
|
||
## Structure
|
||
|
||
```
|
||
index.html
|
||
css/styles.css
|
||
assets/
|
||
logo.png # header wordmark (200×50)
|
||
favicon.png # browser tab icon
|
||
gallery/
|
||
storefront.svg ← replace with .png when you have screenshots
|
||
checkout.svg
|
||
order.svg
|
||
cms.svg
|
||
```
|
||
|
||
## Configuration
|
||
|
||
Update these values in `index.html` (search for `CONFIG` comment at top, then find/replace URLs):
|
||
|
||
| Placeholder | Default |
|
||
|-------------|---------|
|
||
| Repository (HTTPS) | `https://git.nobswebdev.com/nobswebdev/nullcart` |
|
||
| Repository (onion) | `http://4f5t7o2vgo4sdaliwax3isyxzfuxvbvkuwk4smfowutrvx2uneu4egyd.onion/nobswebdev/nullcart` |
|
||
| Live demo (HTTPS) | `https://demo.nullcart.net/` |
|
||
| Live demo (onion) | `http://3jh2ltksxtsmjidik3st6dawfdcheo2cyv2vth2365af75zdxnwqqsyd.onion/` |
|
||
| Email | `contact@nullcart.net` |
|
||
| SimpleX | `https://simplex.chat/contact#YOUR_HANDLE` |
|
||
|
||
## Deploy to shared hosting (e.g. Servers Guru)
|
||
|
||
1. Upload all files to your site's document root (`httpdocs` / `public_html` in Plesk).
|
||
2. Ensure `index.html` is at the root.
|
||
3. Enable Let's Encrypt SSL in your hosting panel.
|
||
4. Visit your domain.
|
||
|
||
No build step, no server-side runtime required.
|
||
|
||
## Deploy elsewhere
|
||
|
||
- **nginx:** serve the folder as static files; optional strict CSP header:
|
||
```
|
||
Content-Security-Policy: default-src 'none'; style-src 'self'; img-src 'self'; base-uri 'self'
|
||
```
|
||
- **Cloudflare Pages / static host:** upload or push files, set publish directory to project root.
|
||
- **Tor mirror:** same static files behind a hidden service (optional).
|
||
|
||
## Screenshot checklist
|
||
|
||
When your NullCart instance is running, capture and replace gallery placeholders:
|
||
|
||
1. **Storefront** — product catalog / home page
|
||
2. **Checkout** — cart checkout with XMR QR code
|
||
3. **Order page** — order status with encrypted chat visible
|
||
4. **CMS** — orders list or wallet dashboard
|
||
|
||
Save as `assets/gallery/storefront.png` (etc.) and update `src` in `index.html`, or keep `.svg` placeholders until ready.
|
||
|
||
## Local preview
|
||
|
||
```bash
|
||
cd nullcart_promo_website
|
||
python3 -m http.server 8080
|
||
```
|
||
|
||
Open http://localhost:8080
|