CodeSmidgen is a simple paste bin written in Python. https://smidgen.snyman.info
Go to file
raoul 8d4c91db3a
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
Merge pull request 'Building out pipeline' (#2) from remove-setup-add-readme into master
Reviewed-on: raoul/stickynotes#2
2023-07-28 05:16:15 +00:00
stickynotes Building out pipeline 2023-07-27 22:14:11 -07:00
tests Building out pipeline 2023-07-27 22:14:11 -07:00
.flake8 Migrate to Quart 2023-07-26 17:43:28 -07:00
.gitignore Building out pipeline 2023-07-27 22:14:11 -07:00
.woodpecker.yaml Building out pipeline 2023-07-27 22:14:11 -07:00
Dockerfile Building out pipeline 2023-07-27 22:14:11 -07:00
pyproject.toml Building out pipeline 2023-07-27 22:14:11 -07:00
README.rst Building out pipeline 2023-07-27 22:14:11 -07:00
stickynotes.example.cfg Building out pipeline 2023-07-27 22:14:11 -07:00

StickyNotes

StickyNotes is a simple "pastebin" written in Python using Quart, SQLAlchemy, Pygments and a few other libraries.

Installation

The easiest way to install StickyNotes is via Docker and Docker Compose. Here's an example config:

version: '3'
services:
  postgres:
    image: postgres:15
    env:
      - POSTGRES_USER=stickynotes
      - POSTGRES_DB=stickynotes
      - POSTGRES_PASSWORD=stickynotes
    restart: unless-stopped
    volumes:
      - "./data/postgres:/var/lib/postgresql/data"
  app:
    image: git.snyman.info/raoul/stickynotes:latest
    env:
      - SQLALCHEMY_URL=postgres://stickynotes:stickynotes@postgres/stickynotes
    restart: unless-stopped
    ports:
      - "127.0.0.1:8000:8000"

Once you have that up and running, you can set up NGINX or another reverse proxy to port 8000 on 127.0.0.1.