https://github.com/botblock/static-site
The Nuxt.js static site that powers BotBlock.org via Cloudflare Pages.
https://github.com/botblock/static-site
Last synced: 3 months ago
JSON representation
The Nuxt.js static site that powers BotBlock.org via Cloudflare Pages.
- Host: GitHub
- URL: https://github.com/botblock/static-site
- Owner: botblock
- License: apache-2.0
- Created: 2021-11-07T14:03:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-05-28T14:01:38.000Z (11 months ago)
- Last Synced: 2025-05-28T14:42:41.271Z (11 months ago)
- Language: Vue
- Homepage: https://botblock.org
- Size: 2.14 MB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# static-site
The Nuxt.js static site that powers BotBlock.org via Cloudflare Pages.
Access the site at .
## Development
1. Run `make bootstrap` to clone BotBlock's open data and best practices repositories.
2. Develop with the site by running `npm run dev`.
3. Lint the codebase by running `npm run lint` (auto-fix with `npm run lint:fix`).
4. Build the site statically by running `npm run build`.
## Deployments
A single Cloudflare Pages environment is configured for this repository. Automatic deployments in
Cloudflare are disabled, and instead, branch webhooks are triggered in Cloudflare Pages from GitHub
Actions workflows for the `production` and `staging` branches.
Cloudflare Pages is set to run `make bootstrap && npm run build` when a branch webhook is triggered.
All deployments are seen as preview deployments by Cloudflare, and are tagged based on the branch
they were deployed from. Each branch is accessible as a subdomain of the base Cloudflare Pages
environment.
CNAME records have been configured for `staging.botblock.org` and `botblock.org`.