Contributing
April 12, 2016 ยท View on GitHub
We love pull requests from everyone.
Install tools for developing:
- Python2 & pip
- Nodejs
- Ruby (for saas)
- Maven 3.x
- JDK 1.8
- Thrift v0.9.x
Fork, then clone the repo:
git clone https://github.com/jcooky/jandy.git
Make sure the tests pass:
mvn package
Execute jandy-server in your local-machine:
java -jar jandy-server/target/jandy-server-{version}.jar
Access local page of jandy:
http://localhost:3000
Push to your fork and submit a pull request.
Some things that will increase the chance that your pull request is accepted:
- Write tests.
- Follow Google style guide.
- Write a good commit message.
Running profiles on local machine instead of Travis-CI
- Access
localhost:3000, and then sign in jandy by GitHub OAuth. - Write
.jandy.ymlin target repository.
- See Jandy User Guide
- Install python module of jandy:
pip install http://localhost:3000/jandy-python.zip - Set environment values for running profiling
- TRAVIS_REPO_SLUG
- TRAVIS_BUILD_ID
- TRAVIS_BUILD_NUMBER
- TRAVIS_BRANCH
-
Execute python script of jandy in local repository of target. It is included testing process by writting .jandy.yml
~/recursivesample# jandy
-
Waiting progress of uploading jandy's profiling results.
-
Enjoy!!
Use optional parameters for execution jandy-server
Jandy-server uses spring-boot. Then, the configuration of spring-boot is used to configure jandy-server
Example:
...
multipart:
maxFileSize: 512Mb
maxRequestSize: -1
...
OR
java -jar jandy-server/target/jandy-server-{version}.jar --multipart.maxFileSize=512Mb --multipart.maxRequestSize=-1