- Remove executable permissions from configuration files (.editorconfig, .env.example, .gitignore) - Remove executable permissions from documentation files (README.md, LICENSE, SECURITY.md) - Remove executable permissions from web assets (HTML, CSS, JS files) - Remove executable permissions from data files (JSON, SQL, YAML, requirements.txt) - Remove executable permissions from source code files across all apps - Add executable permissions to Python
55 lines
2.1 KiB
Plaintext
55 lines
2.1 KiB
Plaintext
# AITBC Website
|
|
|
|
Production website for the AITBC platform.
|
|
|
|
## File Structure
|
|
|
|
```
|
|
website/
|
|
├── index.html # Homepage — platform overview & achievements
|
|
├── 404.html # Custom error page
|
|
├── aitbc-proxy.conf # Nginx reverse proxy configuration
|
|
├── favicon.svg
|
|
├── font-awesome-local.css
|
|
├── docs/ # All documentation (16 pages)
|
|
│ ├── index.html # Docs landing — search, reader-level cards
|
|
│ ├── clients.html # Client guide — jobs, wallet, pricing, API
|
|
│ ├── miners.html # Miner guide — GPU setup, earnings, Ollama
|
|
│ ├── developers.html # Developer guide — SDKs, contributing, bounties
|
|
│ ├── full-documentation.html # Complete technical reference
|
|
│ ├── components.html # Architecture & components overview
|
|
│ ├── flowchart.html # End-to-end system flow diagram
|
|
│ ├── api.html # REST API reference
|
|
│ ├── blockchain-node.html
|
|
│ ├── coordinator-api.html
|
|
│ ├── explorer-web.html
|
|
│ ├── marketplace-web.html
|
|
│ ├── wallet-daemon.html
|
|
│ ├── trade-exchange.html
|
|
│ ├── pool-hub.html
|
|
│ ├── browser-wallet.html # Redirect → /wallet/
|
|
│ ├── css/docs.css # Shared stylesheet
|
|
│ └── js/theme.js # Dark/light theme toggle
|
|
└── wallet/
|
|
└── index.html # Browser wallet landing page
|
|
```
|
|
|
|
## Deployment
|
|
|
|
Copy the website files to your web server's document root:
|
|
|
|
```bash
|
|
# Example using scp (replace with your server details)
|
|
scp -r website/* your-server:/var/www/html/
|
|
```
|
|
|
|
## Key Features
|
|
|
|
- **Unified header/nav** across all 15 doc pages with theme toggle
|
|
- **Live search** on docs index (client-side, 15-page index)
|
|
- **Shared CSS** — zero inline `<style>` blocks, one `docs.css`
|
|
- **Shared JS** — theme persistence via `theme.js`
|
|
- **Zero dead links** — all `href="#"` replaced with real targets
|
|
- **Font Awesome 6** consistently across all pages
|
|
- **Dark/light mode** with localStorage persistence
|