This repository contains the Website https://ocelot.social utilizing vuepress to generate it.
This package requires:
This package uses:
How to use this package.
Build the static files of the website which then can be found under docs/.vuepress/dist/.
npm run buildBring up a development environment with hot reloading which can be reached under http://localhost:8080/:
npm run devRun the tests to ensure everything is working as expected:
# general tests
$ npm test
# test linting
$ npm test:lint
# fix linting
$ npm test:lint:fixAll campaign data (target, amount raised, dates) and the bank account live in docs/.vuepress/crowdfunding.js — the single source of truth. Titles, descriptions and covers come from the announcement posts. Posts and pages only reference it:
<DonationBar campaign="public-content" />
<BankAccount />- Weekly update: set
raisedandasOfof the running campaign. - Extension: set
extendedUntil. - New campaign: write the announcement post in all locales (cover must be a
.png) and prepend an entry tocampaigns.
The landing page /<locale>/crowdfunding/ lists the latest campaign and all previous ones, and the site notice is shown automatically while the latest campaign is running (as of build time).
The latest campaign’s cover is published under a stable URL for external sites: /crowdfunding/current.png (German) and /crowdfunding/current--<locale>.png.