Toi blog is a web app which allows you to create easily a blog.
The system provide:
- Comment system
- Administration
- Google OAuth connection
The following instructions are here to help you to setup Toi.
First of all, please setup a new secret key in settings.py
.
Please install dependencies by:
pip3 install -r requirements.txt
Edit settings.py and set DEBUG to False
.
Then add your domain to ALLOWED_HOSTS
Please create a database.conf
like this to configuration the database connection:
[client]
database = NAME
user = USER
password = PASSWORD
default-character-set = utf8
Please run the following command in a terminal :
python3 manage.py createsuperuser
=> Now you can enjoy !
An administration is provided by Toi blog through this access: https://your.domain.com/admin/