Created
August 20, 2024 17:20
-
-
Save jwlodek/9aea37a9a4b62d18cce8cd6fea09ae21 to your computer and use it in GitHub Desktop.
Revisions
-
jwlodek created this gist
Aug 20, 2024 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ #!/bin/bash # Source the environment of your choice that has tiled + dependencies installed source ~/.ipython/profile_collection_tst/venv/bin/activate rm -f -r /tmp/tiled_storage mkdir /tmp/tiled_storage tiled catalog init sqlite+aiosqlite:////tmp/tiled_storage/catalog.db # Generate a development key with tiled api_key create, and add it exporting env var to bashrc file tiled serve catalog \ /tmp/tiled_storage/catalog.db \ -w /tmp/tiled_storage/data/ \ --api-key=$TILED_API_KEY \ -r /nsls2/data/tst/ -d