GithubHelp home page GithubHelp logo

hhy5277 / expper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raysmond/expper

0.0 1.0 0.0 2.15 MB

Expper website source code

Home Page: https://www.expper.com

License: GNU General Public License v3.0

Dockerfile 0.03% JavaScript 19.24% Java 45.35% HTML 20.12% CSS 13.97% Scala 1.28%

expper's Introduction

Expper

Explore the Internet and Share Something Useful.

This is the source code https://www.expper.com website.

Prerequisites

  • 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

Installation in development

  1. Install node and bower dependencies

    npm install -g grunt-cli 
    npm install
    bower install 
    
  2. Start Postgres and other services

    # in Mac OS X
    brew install redis
    brew install rabbitmq
    brew install elasticsearch
    
    redis-server
    rabbitmq-server
    elasticsearch
    
  3. 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 
    
  4. Start application in development mode

    gradle bootRun # or ./gradlew bootRun , if you haven't install gradle yet
    
    # open another terminal and run grunt
    grunt 
    

Building for production

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 http://localhost:9000 in your browser.

Testing

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.

License

Expper is licensed under GPLv3 license.

expper's People

Contributors

raysmond avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.