-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #242 from RMoodsTeam/241-add-intellij-run-configur…
…ations-to-git 241: Add IntelliJ run configurations
- Loading branch information
Showing
8 changed files
with
167 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="build" type="js.build_tools.npm"> | ||
<package-json value="$PROJECT_DIR$/frontend/package.json" /> | ||
<command value="run" /> | ||
<scripts> | ||
<script value="build" /> | ||
</scripts> | ||
<node-interpreter value="$USER_HOME$/.nvm/versions/node/v20.15.0/bin/node" /> | ||
<envs /> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Clippy" type="CargoCommandRunConfiguration" factoryName="Cargo Command" nameIsGenerated="true"> | ||
<option name="command" value="clippy" /> | ||
<option name="workingDirectory" value="file://$PROJECT_DIR$/backend" /> | ||
<envs /> | ||
<option name="emulateTerminal" value="true" /> | ||
<option name="channel" value="DEFAULT" /> | ||
<option name="requiredFeatures" value="true" /> | ||
<option name="allFeatures" value="false" /> | ||
<option name="withSudo" value="false" /> | ||
<option name="buildTarget" value="REMOTE" /> | ||
<option name="backtrace" value="SHORT" /> | ||
<option name="isRedirectInput" value="false" /> | ||
<option name="redirectInputPath" value="" /> | ||
<method v="2"> | ||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Local DB" type="docker-deploy" factoryName="docker-image" server-name="Docker"> | ||
<deployment type="docker-image"> | ||
<settings> | ||
<option name="imageTag" value="postgres:15.10" /> | ||
<option name="containerName" value="rmoods-dev-db" /> | ||
<option name="envVars"> | ||
<list> | ||
<DockerEnvVarImpl> | ||
<option name="name" value="POSTGRES_USER" /> | ||
<option name="value" value="rmoods-dev" /> | ||
</DockerEnvVarImpl> | ||
<DockerEnvVarImpl> | ||
<option name="name" value="POSTGRES_PASSWORD" /> | ||
<option name="value" value="mypasswd" /> | ||
</DockerEnvVarImpl> | ||
<DockerEnvVarImpl> | ||
<option name="name" value="POSRGRES_DB" /> | ||
<option name="value" value="rmoods" /> | ||
</DockerEnvVarImpl> | ||
</list> | ||
</option> | ||
<option name="portBindings"> | ||
<list> | ||
<DockerPortBindingImpl> | ||
<option name="containerPort" value="5432" /> | ||
<option name="hostPort" value="8003" /> | ||
</DockerPortBindingImpl> | ||
</list> | ||
</option> | ||
<option name="commandLineOptions" value="--rm --volume rmoods-dev-pgdata:/var/lib/postgresql/data" /> | ||
<option name="showCommandPreview" value="true" /> | ||
</settings> | ||
</deployment> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="NLP" type="PythonConfigurationType" factoryName="Python"> | ||
<module name="RMoods" /> | ||
<option name="ENV_FILES" value="" /> | ||
<option name="INTERPRETER_OPTIONS" value="" /> | ||
<option name="PARENT_ENVS" value="true" /> | ||
<envs> | ||
<env name="PYTHONUNBUFFERED" value="1" /> | ||
</envs> | ||
<option name="SDK_HOME" value="" /> | ||
<option name="SDK_NAME" value="Python 3.12" /> | ||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/nlp" /> | ||
<option name="IS_MODULE_SDK" value="false" /> | ||
<option name="ADD_CONTENT_ROOTS" value="true" /> | ||
<option name="ADD_SOURCE_ROOTS" value="true" /> | ||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> | ||
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/nlp/start.py" /> | ||
<option name="PARAMETERS" value="" /> | ||
<option name="SHOW_COMMAND_LINE" value="false" /> | ||
<option name="EMULATE_TERMINAL" value="false" /> | ||
<option name="MODULE_MODE" value="false" /> | ||
<option name="REDIRECT_INPUT" value="false" /> | ||
<option name="INPUT_FILE" value="" /> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Run" type="CargoCommandRunConfiguration" factoryName="Cargo Command"> | ||
<option name="buildProfileId" value="dev" /> | ||
<option name="command" value="run --package rmoods-backend --bin rmoods-backend" /> | ||
<option name="workingDirectory" value="file://$PROJECT_DIR$/backend" /> | ||
<envs /> | ||
<option name="emulateTerminal" value="true" /> | ||
<option name="channel" value="DEFAULT" /> | ||
<option name="requiredFeatures" value="true" /> | ||
<option name="allFeatures" value="false" /> | ||
<option name="withSudo" value="false" /> | ||
<option name="buildTarget" value="REMOTE" /> | ||
<option name="backtrace" value="SHORT" /> | ||
<option name="isRedirectInput" value="false" /> | ||
<option name="redirectInputPath" value="" /> | ||
<method v="2"> | ||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Test NLP" type="tests" factoryName="py.test"> | ||
<module name="RMoods" /> | ||
<option name="ENV_FILES" value="" /> | ||
<option name="INTERPRETER_OPTIONS" value="" /> | ||
<option name="PARENT_ENVS" value="true" /> | ||
<option name="SDK_HOME" value="" /> | ||
<option name="SDK_NAME" value="Python 3.12" /> | ||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/nlp" /> | ||
<option name="IS_MODULE_SDK" value="false" /> | ||
<option name="ADD_CONTENT_ROOTS" value="true" /> | ||
<option name="ADD_SOURCE_ROOTS" value="true" /> | ||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> | ||
<option name="_new_keywords" value="""" /> | ||
<option name="_new_parameters" value="""" /> | ||
<option name="_new_additionalArguments" value="""" /> | ||
<option name="_new_target" value=""$PROJECT_DIR$/nlp/tests/test_main.py"" /> | ||
<option name="_new_targetType" value=""PATH"" /> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Test" type="CargoCommandRunConfiguration" factoryName="Cargo Command"> | ||
<option name="buildProfileId" value="test" /> | ||
<option name="command" value="test --workspace" /> | ||
<option name="workingDirectory" value="file://$PROJECT_DIR$/backend" /> | ||
<envs /> | ||
<option name="emulateTerminal" value="true" /> | ||
<option name="channel" value="DEFAULT" /> | ||
<option name="requiredFeatures" value="true" /> | ||
<option name="allFeatures" value="false" /> | ||
<option name="withSudo" value="false" /> | ||
<option name="buildTarget" value="REMOTE" /> | ||
<option name="backtrace" value="SHORT" /> | ||
<option name="isRedirectInput" value="false" /> | ||
<option name="redirectInputPath" value="" /> | ||
<method v="2"> | ||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="dev" type="js.build_tools.npm" nameIsGenerated="true"> | ||
<package-json value="$PROJECT_DIR$/frontend/package.json" /> | ||
<command value="run" /> | ||
<scripts> | ||
<script value="dev" /> | ||
</scripts> | ||
<node-interpreter value="$USER_HOME$/.nvm/versions/node/v20.15.0/bin/node" /> | ||
<envs /> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |