Skip to content

sheikhartin/daftar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daftar

GitHub repo status GitHub license GitHub contributors GitHub tag (latest by date) GitHub repo size

The word Daftar comes from Farsi (دفتر), which means notebook. This website is implemented with the Django framework and allows you to post in Markdown format and also has a commenting service inside!

How to Use

First, install the dependencies:

poetry install

Configure the database and adapt the environment variables to it... Look at the example here.

Apply migrations:

poetry run python manage.py makemigrations \
&& poetry run python manage.py migrate

Test it before running:

poetry run python manage.py test

Run it:

poetry run python manage.py runserver --insecure

Check project status for deployment:

poetry run python manage.py check --deploy

Note: Only superusers can update posts and comments through the website...

License

This project is licensed under the MIT license found in the LICENSE file in the root directory of this repository.