https://haglobah.github.io/tuebocracy/
https://haglobah.github.io/tuebocracy/
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://haglobah.github.io/tuebocracy/
- Owner: haglobah
- Created: 2024-11-09T13:53:36.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T16:25:32.000Z (7 months ago)
- Last Synced: 2024-11-25T17:29:33.222Z (7 months ago)
- Language: CSS
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-polis - Tuebocracy - Simple wrapper app, intended to help citizens of Tübingen Germany provide input on city issues. Written in Racket language, using Pollen and UnoCSS, built with Nix. Created for a hackathon. [Source](https://github.com/haglobah/tuebocracy) (Misc)
README
# Neckarthon-2024: Beiteiligungsprozesse in Tübingen
Written in [Racket](https://racket-lang.org), [Pollen](https://pollenpub.com) and [unocss](https://unocss.dev), built with [Nix](https://nixos.org), hosted on GitHub Pages.
# Setup
There are two ways to get this repo up and running:
1. Using [Nix](https://nixos.org) (the recommended way for any Unix-based system, e.g. Linux, macOS, WSL)
2. Installing everything by hand (the way to go on Windows)## 1) Nix
The easiest way to get started with local development is to [use Nix](https://zero-to-nix.com/start/install):1. Install Nix
```bash
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
```
3. Enter the nix development environment (from inside the repo):
```bash
cd tuebocracy && nix develop
```
4. Run everything: The pollen web server and the unocss watcher
```bash
npm run dev
```
5. edit files, reload the browser window, see the changes## 2) 'Normal' install
1. Download & Install [Racket](https://racket-lang.org): [download.racket-lang.org](https://download.racket-lang.org)
2. Install [Pollen](https://pollenpub.com), and the Racket Language Server:
```shell
raco pkg install --auto --skip-installed pollen racket-langserver
```
3. Download and install nodejs as described [here](https://nodejs.org/en/download/package-manager).
4. Install the necessary node dependencies:
```shell
npm install
```
5. Run everything: The pollen web server and the unocss watcher
```bash
npm run dev
```
6. edit files, reload the browser window, see the changes