1 Installation & Setup - csandker/Playbooks GitHub Wiki

Installation & Setup

In Docker Container

Use the Dockerised Container as described in https://github.com/csandker/Playbooks/tree/master/Docker

From Scratch

Step 1: Clone the repo

$:> git clone [email protected]:csandker/Playbooks.git

Step 2: Install Requirements
I usually create a virtual environment (venv) for this, to not mess with other installations, but that's optional.

$:> cd Playbooks
$:> virtualenv -p python3 venv
$:> source venv/bin/activate
$:> pip3 install -r requirements.txt

Step 3: Migrate the Database

cd App
python3 manage.py migrate

Step 4: Create Admin User

$:> python3 manage.py createsuperuser

> name: ## Can be anything, e.g. admin
> Email: ## optional, leave this <blank>
> password: ## choose a solid admin password
> confirm: ## confirm

Step 5: Create First App User
Start App server:

$:> python3 manage.py runserver

Now browse to http://127.0.0.1:8000/admin/.
Log in with your newly created admin account and create a new user by clicking on the "+" next to "Users" under "AUTHENTICATION AND AUTHORIZATION".

Step 6: Enjoy PlayBooks
Click "Logout" within the Admin area, you will be forwarded to the App Login. Log in with your newly created User.

Create Playbooks and add Pages to your playbooks.
The different options to add pages are covered here: Page Source Options

⚠️ **GitHub.com Fallback** ⚠️