|
|
|
@ -9,8 +9,8 @@ necessary to initialize a development environment:
@@ -9,8 +9,8 @@ necessary to initialize a development environment:
|
|
|
|
|
1. Initialize _Django_ project: |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
django startproject PROJECT_NAME |
|
|
|
|
``` |
|
|
|
|
django-admin startproject PROJECT_NAME |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
2. Clone this repository to a location outside the project directory. |
|
|
|
|
|
|
|
|
@ -18,8 +18,8 @@ necessary to initialize a development environment:
@@ -18,8 +18,8 @@ necessary to initialize a development environment:
|
|
|
|
|
folder of this repository, e.g.: |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
ln -sr bam PROJECT_DIRECTORY/bam |
|
|
|
|
``` |
|
|
|
|
ln -sr bam PROJECT_DIRECTORY/bam |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
4. Add `bam` to `INSTALLED_APPS` in the project's `settings.py`. |
|
|
|
|
|
|
|
|
@ -28,8 +28,8 @@ necessary to initialize a development environment:
@@ -28,8 +28,8 @@ necessary to initialize a development environment:
|
|
|
|
|
6. Initialize database: |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
./manage.py migrate |
|
|
|
|
``` |
|
|
|
|
./manage.py migrate |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
7. Create a superuser account: |
|
|
|
|
|
|
|
|
|