Website for Project Mycelium https://www.projectmycelium.com
- TypeScript 97.7%
- CSS 0.8%
- Shell 0.6%
- HTML 0.5%
- Makefile 0.2%
- Other 0.2%
| .forgejo/workflows | ||
| docs | ||
| e2e | ||
| public | ||
| scripts | ||
| src | ||
| .env.production | ||
| .gitignore | ||
| components.json | ||
| eslint.config.js | ||
| google5dd3a8b700455c0e.html | ||
| index.html | ||
| Makefile | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
Project Mycelium Website
Official website for Project Mycelium — decentralized cloud infrastructure platform.
Built with Vite, React, TypeScript, and Tailwind CSS.
Quick Start
make install # Install dependencies + Playwright browsers
make dev # Start dev server at http://localhost:5173
make test # Run E2E tests
Makefile Commands
| Command | Description |
|---|---|
make help |
Show all available commands |
make install |
Install npm dependencies + Playwright browsers |
make dev |
Start Vite dev server on port 5173 |
make build |
Build for production (outputs to dist/) |
make preview |
Preview production build |
make lint |
Run ESLint |
make test |
Run Playwright E2E tests (headless) |
make test-ui |
Open Playwright interactive UI mode |
make test-headed |
Run tests in a visible browser |
make test-report |
Open the HTML test report |
make clean |
Remove build artifacts and test results |
npm Scripts
| Script | Description |
|---|---|
npm run dev |
Start dev server |
npm run build |
Type-check + production build |
npm run preview |
Preview production build |
npm run lint |
Run ESLint |
npm test |
Run Playwright E2E tests |
npm run test:ui |
Open Playwright interactive UI mode |
E2E Tests
End-to-end tests live in e2e/ and use Playwright.
e2e/
playwright.config.ts # Configuration (auto-starts dev server)
tsconfig.json # TypeScript config for tests
fixtures/
base.fixture.ts # Shared fixtures and helpers
tests/
smoke.spec.ts # All routes load without errors
navigation.spec.ts # Desktop, mobile, and footer navigation
os-page.spec.ts # OS page sections render correctly
Tests automatically start the Vite dev server via Playwright's webServer
config. If you already have the dev server running, it will be reused.
Running Tests
# Headless (default — fast, for CI)
make test
# Interactive UI mode (best for development)
make test-ui
# Headed browser (see the browser)
make test-headed
# View last test report
make test-report
Deployment
Automated CI/CD deploys on push to configured branches. See docs/DEPLOYMENT.md for details.
| Branch | Domain |
|---|---|
| master | www.projectmycelium.com |
| development | www2.projectmycelium.com |