add configurations for intellij to start frontend / backend

This commit is contained in:
Mika Bomm 2024-09-03 20:05:44 +02:00
parent d394dd4d4a
commit c821562e30
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="start frontend (dev)" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/web/package.json" />
<command value="run" />
<scripts>
<script value="dev" />
</scripts>
<arguments value="--host" />
<node-interpreter value="project" />
<envs />
<method v="2" />
</configuration>
</component>

15
.run/start server.run.xml Normal file
View file

@ -0,0 +1,15 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="start server" type="Application" factoryName="Application">
<option name="ALTERNATIVE_JRE_PATH" value="17" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" />
<envs>
<env name="DB_USER" value="postgres" />
<env name="DB_PASSWORD" value="postgres" />
</envs>
<option name="MAIN_CLASS_NAME" value="com.mixel.docusphere.DocuSphereApplication" />
<module name="DocuSphere.server.main" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>