Skip to content

About

ocelot.social website

Resources

Stars

7 stars

Watchers

5 watching

Forks

Latest commit

 

History

734 Commits

Folders and files

Repository files navigation

ocelot.social Website

This repository contains the Website https://ocelot.social utilizing vuepress to generate it.

Software requirements

This package requires:

Techstack

This package uses:

Usage

How to use this package.

Build

Build the static files of the website which then can be found under docs/.vuepress/dist/.

npm run build

Dev

Bring up a development environment with hot reloading which can be reached under http://localhost:8080/:

npm run dev

Test

Run the tests to ensure everything is working as expected:

# general tests
$ npm test
# test linting
$ npm test:lint
# fix linting
$ npm test:lint:fix

Crowdfunding

All 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 raised and asOf of the running campaign.
  • Extension: set extendedUntil.
  • New campaign: write the announcement post in all locales (cover must be a .png) and prepend an entry to campaigns.

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.

About

ocelot.social website

Resources

Stars

7 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages