diff --git a/.gitignore b/.gitignore index 5ef9005b6b..b89d99f4de 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -reverie/backend_server/utils.py frontend_server/settings/local.py storage/* static_dirs/* diff --git a/requirements.txt b/requirements.txt index 106c82f63e..30f9aade38 100644 --- a/requirements.txt +++ b/requirements.txt @@ -66,3 +66,4 @@ wsproto==1.2.0 yarl==1.8.2 yellowbrick==1.5 zipp==3.6.0 +python-dotenv==1.0.0 diff --git a/reverie/backend_server/utils.py b/reverie/backend_server/utils.py new file mode 100644 index 0000000000..9cf3acefab --- /dev/null +++ b/reverie/backend_server/utils.py @@ -0,0 +1,22 @@ +import os +from dotenv import load_dotenv + +load_dotenv() + +# Copy and paste your OpenAI API Key +openai_api_key = os.environ.get('OPENAI_API_KEY') +# Put your name +key_owner = os.environ.get('KEY_OWNER') + + +maze_assets_loc = "../../environment/frontend_server/static_dirs/assets" +env_matrix = f"{maze_assets_loc}/the_ville/matrix" +env_visuals = f"{maze_assets_loc}/the_ville/visuals" + +fs_storage = "../../environment/frontend_server/storage" +fs_temp_storage = "../../environment/frontend_server/temp_storage" + +collision_block_id = "32125" + +# Verbose +debug = True \ No newline at end of file