* Proof of concept code which calculates the on load page actions. * Refactored the field names introduced in Layout. Added a new field to keep a track of direct action names used in dynamic bindings in the DSL. * Untested compute on on page load actions completed. * Working page load actions computation. TODO : Update the tests for correctness. * Added fix for BFS starting from root nodes instead of arbitrary nodes. Fixed a test case to assert for correct page load actions. * Fixed the bug where the ids of the actions were not getting set in the layout. Also asserting the same in the test case for catching the future breaks. * Minor refactor of function name to clear its purpose without reading the code. * Incorporated review comments. * Added conditional checks for unpublished action deleted and circular dependency of actions depending on each other. |
||
|---|---|---|
| .. | ||
| .run | ||
| appsmith-interfaces | ||
| appsmith-plugins | ||
| appsmith-server | ||
| envs | ||
| mongo-seed | ||
| scripts | ||
| .gitignore | ||
| build.sh | ||
| buildpack-run.sh | ||
| docker-compose.yml | ||
| Dockerfile | ||
| entrypoint.sh | ||
| pom.xml | ||
| Procfile | ||
| README.md | ||
| system.properties | ||
Appsmith Server
This is the server-side repo for the Appsmith framework.
How to build
$ ./build.sh <arguments>
For example:
$ ./build.sh -DskipTests
This script will perform the following steps:
- Compile the code
- Generate the jars for server & plugins
- Copy them into the
distdirectory
How to run
$ cd ./dist
$ java -jar -Dspring.profiles.active=$env server-1.0-SNAPSHOT.jar
How to test
In order to test the code, you can run the following command:
mvn -B clean package
Please make sure that you have a local Redis instance running for the test cases. During tests, the MongoDB is run in-memory. So you don't require to be running a local MongoDB instance.