diff --git a/docs/source/admin/setup/cloud/CSH_manual.rst b/docs/source/admin/setup/cloud/CSH_manual.rst index 75947ab65..0460c9669 100644 --- a/docs/source/admin/setup/cloud/CSH_manual.rst +++ b/docs/source/admin/setup/cloud/CSH_manual.rst @@ -288,6 +288,17 @@ To create the .env file in the same directory as the manage.py file: (/home/ubun vim .env +.. admonition:: Get a Cesium access token + :class: dropdown + + You will also need to generate an access token for Cesium in order for the globe to render on Seshat pages that include maps. + + Visit the `Cesium website `_ and create an account. + + Once you have an account, navigate to the "Access Tokens" tab and create a new token. + + Add this token to the ``.env`` file as shown below. + The content of the .env file should look something like this: .. code-block:: none @@ -311,6 +322,7 @@ The content of the .env file should look something like this: ZOTERO_API_KEY = '' # For future use EMAIL_APP_PASS = '' + CESIUM_ION_ACCESS=''' We now need to ask Django to bring all the static files of the project (CSS files, images, etc.) together. Inside the virtual environment and in the same path as manage.py: diff --git a/docs/source/admin/setup/local/macos.rst b/docs/source/admin/setup/local/macos.rst index c852914fc..98551dee0 100644 --- a/docs/source/admin/setup/local/macos.rst +++ b/docs/source/admin/setup/local/macos.rst @@ -201,6 +201,17 @@ Create a configuration file with your database info for Django. The presence of Within the repo, create a file called ``seshat/settings/.env`` with the database connection variables. +.. admonition:: Get a Cesium access token + :class: dropdown + + You will also need to generate an access token for Cesium in order for the globe to render on Seshat pages that include maps. + + Visit the `Cesium website `_ and create an account. + + Once you have an account, navigate to the "Access Tokens" tab and create a new token. + + Add this token to the ``.env`` file as shown below. + The file should look like this: .. code-block:: @@ -210,6 +221,7 @@ The file should look like this: DB_HOST=localhost DB_PORT=5432 DB_PASSWORD= + CESIUM_ION_ACCESS= Step 9: Migrate the database diff --git a/docs/source/admin/setup/local/ubuntu.rst b/docs/source/admin/setup/local/ubuntu.rst index 0838681b0..086c9e51c 100644 --- a/docs/source/admin/setup/local/ubuntu.rst +++ b/docs/source/admin/setup/local/ubuntu.rst @@ -230,6 +230,17 @@ Create a configuration file with your database info for Django. The presence of Within the repo, create a file called ``seshat/settings/.env`` with the database connection variables. +.. admonition:: Get a Cesium access token + :class: dropdown + + You will also need to generate an access token for Cesium in order for the globe to render on Seshat pages that include maps. + + Visit the `Cesium website `_ and create an account. + + Once you have an account, navigate to the "Access Tokens" tab and create a new token. + + Add this token to the ``.env`` file as shown below. + The file should look like this: .. code-block:: @@ -239,6 +250,7 @@ The file should look like this: DB_HOST=localhost DB_PORT=5432 DB_PASSWORD= + CESIUM_ION_ACCESS= Step 9: Migrate the database