34 lines
732 B
Markdown
34 lines
732 B
Markdown
# Appsmith Server
|
|
|
|
This is the server-side repo for the Appsmith framework.
|
|
|
|
### How to build
|
|
```bash
|
|
$ ./build.sh <arguments>
|
|
```
|
|
|
|
For example:
|
|
```$bash
|
|
$ ./build.sh -DskipTests
|
|
```
|
|
|
|
This script will perform the following steps:
|
|
1. Compile the code
|
|
2. Generate the jars for server & plugins
|
|
3. Copy them into the `dist` directory
|
|
|
|
### 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.
|