Skip to content

Commit

Permalink
Update Pycharm run config to use env file as well
Browse files Browse the repository at this point in the history
  • Loading branch information
webjunkie committed Jan 8, 2024
1 parent 5853227 commit 7473fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .run/Celery.run.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Celery" type="PythonConfigurationType" factoryName="Python">
<module name="posthog" />
<option name="ENV_FILES" value="$PROJECT_DIR$/bin/celery-queues.env" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
Expand All @@ -10,7 +11,6 @@
<env name="KAFKA_HOSTS" value="localhost" />
<env name="DATABASE_URL" value="postgres://posthog:posthog@localhost:5432/posthog" />
<env name="SKIP_SERVICE_VERSION_REQUIREMENTS" value="1" />
<env name="CELERY_WORKER_QUEUES" value="celery,email,insight_export,insight_refresh,gevent" />
</envs>
<option name="SDK_HOME" value="$PROJECT_DIR$/env/bin/python" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/env/bin" />
Expand Down

0 comments on commit 7473fb1

Please sign in to comment.