Skip to content

Commit 73724e5

Browse files
authored
Merge pull request #42 from sofide/fix/improve_readme
improve readme details for secrets
2 parents 9c7403f + c7a3143 commit 73724e5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ Prepare a configuration file at `gastitis/secret_settings.py` with the following
2727
```python
2828
TELEGRAM_BOT_TOKEN = '' # Place your bot token here.
2929

30-
DJANGO_SECRET_KEY = '' # Generate a Django secret key (see https://docs.djangoproject.com/en/4.1/ref/settings/#secret-key).
30+
DJANGO_SECRET_KEY = '' # Generate a Django secret key (any random string) (see https://docs.djangoproject.com/en/4.1/ref/settings/#secret-key).
3131

32-
DATABASE_SETTINGS = None # Use 'None' to run Gastitis with SQLite.
32+
SQLITE_DATABASE_SETTINGS = None # Use 'None' to run Gastitis with SQLite.
3333

34-
DATABASE_SETTINGS = { # Use these settings for a specific database (e.g., PostgreSQL).
34+
POSTGRESQL_DATABASE_SETTINGS = { # Use these settings for a specific database (e.g., PostgreSQL).
3535
'ENGINE': 'django.db.backends.postgresql',
3636
'NAME': '', # Database name.
3737
'USER': '', # Database username.
@@ -40,6 +40,8 @@ DATABASE_SETTINGS = { # Use these settings for a specific database (e.g., Postg
4040
'PORT': '5432',
4141
}
4242

43+
DATABASE_SETTINGS = SQLITE_DATABASE_SETTINGS # Choose SQLITE_DATABASE_SETTINGS or POSTGRESQL_DATABASE_SETTINGS
44+
4345
BETA_USERS = ['your_telegram_username'] # List of Telegram usernames allowed to access beta features and commands
4446
```
4547

0 commit comments

Comments
 (0)