Created
November 10, 2013 15:21
-
-
Save dpwrussell/7399423 to your computer and use it in GitHub Desktop.
omero-web-dev scripts. To setup and run django dev server in the OMERO environment.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export OMERO_PREFIX=~/Checkouts/openmicroscopy/dist # Example server build path | |
# Make sure the Django code etc can be imported | |
#export PYTHONPATH=$OMERO_PREFIX/lib/python/ | |
cd $OMERO_PREFIX | |
# need to remove the built omeroweb code so it doesn't get imported | |
rm -rf lib/python/omeroweb/ | |
cd ../components/tools/OmeroWeb/omeroweb | |
export OMERO_HOME=$OMERO_PREFIX | |
python manage.py runserver 0.0.0.0:8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export OMERO_PREFIX=~/Checkout/openmicroscopy/dist # Example server build path | |
# Make sure the Django code etc can be imported | |
export PYTHONPATH=$OMERO_PREFIX/lib/python/ | |
cd $OMERO_PREFIX | |
# need to remove the built omeroweb code so it doesn't get imported | |
rm -rf lib/python/omeroweb/ | |
cd ../components/tools/OmeroWeb/omeroweb | |
export OMERO_HOME=$OMERO_PREFIX | |
python manage.py shell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment