Skip to main content

a small bookmark api

Project description

bookmarks

trans rights!

a small bookmark api

Quickstart

$ python -m pip install artemis.bookmarks
$ export FLASK_APP=bookmarks.app
$ python -m flask db:init
$ python -m flask run

Configuration

By default, the DB is configured to stay in RAM, so it simply won't work.

The configuration file's name is bookmarks.toml, and it can reside in the following paths.

  • ./bookmarks.toml
  • ~/.config/bookmarks/bookmarks.toml
  • ~/.config/bookmarks.toml
  • /etc/bookmarks/bookmarks.toml
  • /etc/bookmarks.toml

Example configuration

SQLALCHEMY_DATABASE_URI='sqlite:////usr/share/bookmarks.db'
SERVER_NAME='bookmarks.example.com'

You need to check your WSGI runner's configuration to configure its listen interface.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

artemis.bookmarks-0.0.2.tar.gz (12.6 kB view hashes)

Uploaded Source

Built Distribution

artemis.bookmarks-0.0.2-py3-none-any.whl (13.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page