Skip to content

Appsembler's launcher widget for creating demo sites running on Docker.

Notifications You must be signed in to change notification settings

zennro/launcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appsembler Launch

Local development set up

This instructions are written under the assumption that you have virtualenvwrapper set up on your machine.

You also need working Pusher, Customer.io accounts, and have Docker and Shipyard running on a server somewhere.

  1. Create a new virtual env: mkvirtualenv appsemblerlaunch

  2. Set the required env variables in your virtual environments bin/postactivate script:

     #!/usr/local/bin/zsh
     # This hook is run after this virtualenv is activated.
     
     # Django settings
     export SECRET_KEY=''
    
     # Pusher settings
     export PUSHER_APP_ID=''
     export PUSHER_APP_KEY=''
     export PUSHER_APP_SECRET=''
    
     # Shipyard settings
     export SHIPYARD_HOST=''
     export SHIPYARD_USER=''
     export SHIPYARD_KEY=''
    
     # Customer.io settings
     export CUSTOMERIO_SITE_ID=''
     export CUSTOMERIO_API_KEY=''
    
  3. Clone this repo: git clone [email protected]:appsembler/appsembler-launch.git

  4. Switch to the Docker branch: git checkout docker

  5. Activate the virtualenv: workon appsemblerlaunch

  6. cd appsembler-launch; setvirtualenvproject

  7. Install the requirements: pip install -r requirements/local.txt

  8. Run syncdb: ./manage.py syncdb --settings=openshift_deploy.settings.local

  9. Run migrations: ./manage.py migrate --settings=openshift_deploy.settings.local

  10. Start celery in one shell: ./manage.py celery worker -B --loglevel=info --autoreload --settings=openshift_deploy.settings.local --concurrency=2 -s celerybeat-schedule

  11. And runserver in other: ./manage.py runserver --settings=openshift_deploy.settings.local

About

Appsembler's launcher widget for creating demo sites running on Docker.

Resources

Stars

Watchers

Forks

Packages

No packages published