You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
Nathan Hammond edited this page Feb 20, 2017
·
5 revisions
For now these instructions apply to the 'nopolymorphic' branch, not to the main development or master branches.
Overview
For developers, it can be difficult to debug Loom when running in a Docker container, and with ~10 minutes to build, iterating to test changes is slow.
You can follow the steps below to run the Loom server locally outside of Docker.
Instructions
Install the MySQL server. Create a database for Loom to use.
Set the environment variables LOOM_MYSQL_USER, LOOM_MYSQL_HOST, LOOM_MYSQL_PASSWORD, LOOM_MYSQL_DATABASE
export TEST_DISABLE_TASK_DELAY=true # This runs tasks on the main thread instead of celery
export LOOM_DEBUG=true # This allows static files to be served, and returns error messages with responses
cd loom/loomengine/master
./manage.py migrate # Create or migrate database tables