Skip to content

Commit

Permalink
ide settings : add run and tests configuration : docker, karma, scala…
Browse files Browse the repository at this point in the history
…, and angular app
  • Loading branch information
Babali42 committed Jan 29, 2025
1 parent a02c33e commit 9a84782
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .run/Angular Application.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Angular Application" type="JavascriptDebugType" uri="http://localhost:4200" useFirstLineBreakpoints="true">
<method v="2">
<option name="NpmBeforeRunTask" enabled="true">
<package-json value="$PROJECT_DIR$/frontend/package.json" />
<command value="run" />
<scripts>
<script value="start" />
</scripts>
<node-interpreter value="project" />
<envs />
</option>
</method>
</configuration>
</component>
13 changes: 13 additions & 0 deletions .run/Docker Compose Up.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Docker Compose Up" type="docker-deploy" factoryName="docker-compose.yml" server-name="Docker">
<deployment type="docker-compose.yml">
<settings>
<option name="envFilePath" value="" />
<option name="sourceFilePath" value="backend/docker-compose.yml" />
</settings>
</deployment>
<method v="2">
<option name="ToolBeforeRunTask" enabled="true" actionId="Tool_External Tools_Docker" />
</method>
</configuration>
</component>
10 changes: 10 additions & 0 deletions .run/Karma Tests.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Karma Tests" type="JavaScriptTestRunnerKarma">
<config-file value="$PROJECT_DIR$/frontend/karma.conf.js" />
<karma-package-dir value="$PROJECT_DIR$/frontend/node_modules/@angular/cli" />
<working-directory value="$PROJECT_DIR$/frontend" />
<node-interpreter value="project" />
<envs />
<method v="2" />
</configuration>
</component>
16 changes: 16 additions & 0 deletions .run/Scala Test.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Scala Test" type="SbtRunConfiguration" factoryName="sbt Task" show_console_on_std_err="false" show_console_on_std_out="false">
<module name="DrumBeatRepo" />
<option name="allowRunningInParallel" value="false" />
<option name="projectPathOnTarget" />
<option name="selectedOptions">
<list />
</option>
<option name="tasks" value="test" />
<option name="useSbtShell" value="false" />
<option name="vmparams" value="-Xms512M -Xmx1024M -Xss1M" />
<option name="workingDir" value="C:\Users\Baptiste\Documents\DrumBeatRepo\backend" />
<option name="envFilePaths" />
<method v="2" />
</configuration>
</component>

0 comments on commit 9a84782

Please sign in to comment.