En reprenant la Shaarpy : Presentation, a été ajouté entre temps :
ça sera tout pour cette fois ;)
Share Your Thoughts, Links, Ideas, Notes
This project is a clone of the great Shaarli made in PHP. This one is made in Python3.10 and Django 4.x
export
python manage.py dumpdata --format json --indent 2 > fixtures/my_shaarpy_dump.json
import
python manage.py loaddata --format json fixtures/my_shaarpy_dump.json
system requirements :
apt install pandoc
creation of a python virtualenv
python3 -m venv shaarpy
cd shaarpy
source bin/activate
install the project
git clone https://git.afpy.org/foxmask/shaarpy
cd shaarpy
copy the sample config file
cp env.sample .env
and set the following values
# for meta
SHAARPY_NAME=ShaarPy FoxMaSk Links
SHAARPY_DESCRIPTION=Share thoughts, links ideas, notes
SHAARPY_AUTHOR=FoxMaSk
SHAARPY_ROBOT=index, follow
# for MD generation
SHAARPY_LOCALSTORAGE_MD=/home/foxmask/MesNotes/links
SHAARPY_STYLE=blue
SECRET=!DONTFORGETTOCHANGETHISVALUE!
DEBUG=True # or False in prod
DB_ENGINE='django.db.backends.sqlite3'
DB_NAME='db.sqlite3'
DB_USER=''
DB_PASSWORD=''
DB_HOST=''
DB_PORT=''
TIME_ZONE='Europe/Paris'
LANGUAGE_CODE='en-en'
USE_I18N=True
USE_L10N=True
USE_TZ=True
setup the database
cd shaarpy
python manage.py createsuperuser
python manage.py migrate
python manage.py loaddata --format json fixtures/my_shaarpy_data.json
start the project
python manage.py runserver localhost:8001
then, access the project with your browser http://127.0.0.1:8001/