This website is built using Docusaurus 2 and deployed using Cloudflare Pages.
The deployed version is available at countr.xyz or countr.pages.dev.
You can contribute in two ways:
- Edit or create new content in the
/contentdirectory. You don't need to know programming to write new content, but you should know some markdown. If not then we'll help you out :)- Optional: set up a local development to preview your edits.
- Edit the actual source code of the website. You need programming for this though.
- The frontend code is in the
/srcdirectory, and static files are in/static. - The backend code is in the
/functionsdirectory and uses Cloudflare Pages' Functions. - You're required to set up a local development for this, but we assume you know how to do this.
- The frontend code is in the
Any contribution is welcome as long as it follows our guidelines.
$ npm i -g pnpm
$ pnpm i$ npm run devThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
$ npm run build
$ npm run serveThis generates static content into the build directory and can be served using any static contents hosting service. The second command also serves the content locally for testing.