a small bookmark api
Project description
bookmarks
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for artemis.bookmarks-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cd3c152a773e072668b1bee245debf719e1d524fecd2b7868101521b8502684 |
|
MD5 | 72f56b620516c816513bf5882b274f49 |
|
BLAKE2b-256 | 6393f40a62ba56a29e82b3a95ab3753b1918b6fb461c22ab4edba21ff3c9e8e4 |