Added IntelliJ run configuration for an easier getting started experience for contributors (#1944)
* Added run configuration for IntelliJ * Added instructions for run config
This commit is contained in:
parent
55ef8a0084
commit
6c974408bd
22
app/server/.run/ServerApplication.run.xml
Normal file
22
app/server/.run/ServerApplication.run.xml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="ServerApplication" type="Application" factoryName="Application" nameIsGenerated="true">
|
||||
<option name="INCLUDE_PROVIDED_SCOPE" value="true" />
|
||||
<option name="MAIN_CLASS_NAME" value="com.appsmith.server.ServerApplication" />
|
||||
<module name="server" />
|
||||
<option name="VM_PARAMETERS" value="-Dpf4j.mode=development -Dpf4j.pluginsDir=appsmith-plugins" />
|
||||
<extension name="net.ashald.envfile">
|
||||
<option name="IS_ENABLED" value="true" />
|
||||
<option name="IS_SUBST" value="false" />
|
||||
<option name="IS_PATH_MACRO_SUPPORTED" value="false" />
|
||||
<option name="IS_IGNORE_MISSING_FILES" value="false" />
|
||||
<option name="IS_ENABLE_EXPERIMENTAL_INTEGRATIONS" value="false" />
|
||||
<ENTRIES>
|
||||
<ENTRY IS_ENABLED="true" PARSER="runconfig" />
|
||||
<ENTRY IS_ENABLED="true" PARSER="env" PATH=".env" />
|
||||
</ENTRIES>
|
||||
</extension>
|
||||
<method v="2">
|
||||
<option name="Make" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
</component>
|
||||
|
|
@ -89,6 +89,10 @@ docker run -p 127.0.0.1:6379:6379 --name appsmith-redis redis
|
|||
|
||||
When using this command, the value of `APPSMITH_REDIS_URI` should be set to `redis://localhost:6379`.
|
||||
|
||||
## Seting up IntelliJ IDE
|
||||
|
||||
To run the project from within the IDE, you will need to make use of the run configuration that is part of the repository. The run configuration uses the [EnvFile](https://plugins.jetbrains.com/plugin/7861-envfile) plugin to include environment variables in the path. Any and all tests can be run within the IDE by cloning this run configuration.
|
||||
|
||||
## Need Assistance
|
||||
- If you are unable to resolve any issue while doing the setup, please initiate a Github discussion or send an email to support@appsmith.com. We'll be happy to help you.
|
||||
- In case you notice any discrepancy, please raise an issue on Github and/or send an email to support@appsmith.com.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user