|
|
|
@ -29,26 +29,29 @@ ln -sr bam PROJECT_NAME/bam
@@ -29,26 +29,29 @@ ln -sr bam PROJECT_NAME/bam
|
|
|
|
|
5. Set `bam.hashers.LDAPPBKDF2PasswordHasher` as the first item of the |
|
|
|
|
`PASSWORD_HASHERS` array in the project's `settings.py`. |
|
|
|
|
|
|
|
|
|
6. Insert the configuration values described below according to your setup |
|
|
|
|
6. Set `LOGIN_URL` to `/login/` and `LOGIN_REDIRECT_URL` to `/` in the |
|
|
|
|
project's `settings.py`. |
|
|
|
|
|
|
|
|
|
7. Insert the configuration values described below according to your setup |
|
|
|
|
into the project's `settings.py`. |
|
|
|
|
|
|
|
|
|
7. Append `path('', include('bam.urls')),` to the project's `urls.py`. |
|
|
|
|
8. Append `path('', include('bam.urls')),` to the project's `urls.py`. |
|
|
|
|
|
|
|
|
|
8. Initialize database: |
|
|
|
|
9. Initialize database: |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
./manage.py migrate |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
9. Create a superuser account: |
|
|
|
|
10. Create a superuser account: |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
./manage.py createsuperuser |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
10. Download _Pure.css_ to `bam/static/pure-min.css`. |
|
|
|
|
11. Download _Pure.css_ to `bam/static/pure-min.css`. |
|
|
|
|
|
|
|
|
|
11. Start the development server: |
|
|
|
|
12. Start the development server: |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
./manage.py runserver |
|
|
|
|