Skip to content

Commit

Permalink
add info about email backend hack
Browse files Browse the repository at this point in the history
  • Loading branch information
magicznyleszek committed Aug 7, 2024
1 parent 4150f48 commit 7410388
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/_articles/kpi-frontend-development-troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ Check out kobocat logs `./run.py -cf logs -f --tail=10 kobocat` at `kobo-install

## Misc problems

### Email-activating fake account

Sometimes you create a test account on local environment with just a username and password (no email address). If you try to log in, you will see "confirm email" message. You don't need to create temporary email addresses, you can simply add one line on your dev settings:

```
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
```

After that you will see the email content in your logs (and you can click the activation link through there).

### JS out of memory

`ts-loader FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory`
Expand Down

0 comments on commit 7410388

Please sign in to comment.