This repo contains part of the source code of the Curiosone chatbot project.
Clone the repository to your local machine then cd into the directory that was created by the cloning.
git clone https://github.com/curiosone-bot/curiosone-core.git
cd curiosone-core
If you don't have them already, you need to install some prerequisites:
- Git
- Java 8 JDK
- Gradle
- GitHub Desktop (optional)
The project comes with some useful tools that will help you automatize some common tasks:
gradle clean
to clean up the files generated by the build processgradle build
to build and compile the entire projectgradle test
to run unit testsgradle javadoc
to generate the javadoc
To start developing you can follow the simple workflow described below.
- Develop a new feature with unit tests
- Run
gradle test
- If tests fail, fix the code and go back to step 2
- If you need to add more features, go back to step 1
- Run
gradle clean build
- Open a new Pull Request
- Let others review your code
- Marge the pull request into the master branch
At the end of this workflow you should have a unit tested version of project that is ready for use.