Explore the Internet and Share Something Useful.
This is the source code https://www.expper.com website.
- Java 8+
- Spring Boot 1.3.0.RELEASE
- PostgreSQL 9.4+
- Jhipster 2.24.0
- Redis 3.0+
- RabbitMQ 3.5.6+
- ElasticSearch
- Node.js
-
Install node and bower dependencies
npm install -g grunt-cli npm install bower install
-
Start Postgres and other services
# in Mac OS X brew install redis brew install rabbitmq brew install elasticsearch redis-server rabbitmq-server elasticsearch
-
Create and modify the configuration files according to your settings
cp src/main/resources/config/application.example.yml src/main/resources/config/application.yml cp src/main/resources/config/application-dev.example.yml src/main/resources/config/application-dev.yml cp src/main/resources/config/application-prod.example.yml src/main/resources/config/application-prod.yml
-
Start application in development mode
gradle bootRun # or ./gradlew bootRun , if you haven't install gradle yet # open another terminal and run grunt grunt
To optimize the expper client for production, run:
./gradlew -Pprod clean bootRepackage
To ensure everything worked, run:
java -jar build/libs/*.war --spring.profiles.active=prod
Then navigate to https://localhost:9000 in your browser.
Unit tests are run by [Karma][] and written with [Jasmine][]. They're located in src/test/javascript
and can be run with:
grunt test
UI end-to-end tests are powered by [Protractor][], which is built on top of WebDriverJS. They're located in src/test/javascript/e2e
and can be run by starting Spring Boot in one terminal (./gradlew bootRun
) and running the tests (grunt itest
) in a second one.
Expper is licensed under GPLv3 license.