1 Commits

Author SHA1 Message Date
db4ad6ec40 WIP instructions for dev installation from scratch 2017-02-09 23:24:12 +01:00
2 changed files with 24 additions and 2 deletions

View File

@@ -92,3 +92,27 @@ On the production machine:
1. `docker pull armadillica/blender_cloud` 1. `docker pull armadillica/blender_cloud`
2. `docker-compose up -d` (from the `/data/git/blender-cloud/docker` directory) 2. `docker-compose up -d` (from the `/data/git/blender-cloud/docker` directory)
## Development setup
Here are some notes on how to get the whole Blender Cloud dev environment set up
from scratch. First off, we agree to develop on bare metal and use Docker only for
production.
Initial requirements:
- Python 2.7
- NPM
- Blender ID server up and running (see blender-id for more)
Here are the steps:
- Clone the fantastic 5 (pillar, pillar-python-sdk, attract, flamenco and
blender-cloud)
- Run `npm install` in pillar, attract and flamenco
- Create `config_local.py` in blender-cloud
- `pip install -e .` in every repo except blender-cloud
- `pip install -r requirements.txt` in blender-cloud
- setup_db
- create_urler_account

View File

@@ -1,7 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e # error out when one of the commands in the script errors.
PILLAR_DIR=$(python <<EOT PILLAR_DIR=$(python <<EOT
from __future__ import print_function from __future__ import print_function
import os.path import os.path