Git Product home page Git Product logo

urlminimizer's Introduction

urlminimizer

ne8.org URL minimizer

This is the source code behind http://ne8.org. This is plugin-based modular javaee application, very configuration and made for expansion. It will build into a war that can be deployed to any application server.

#Build instructions

  • Kick off gradle build to build war (./gradelew build on unix)
  • War will be in /UrlMinifierWebapp/build/libs

#Install Instructions

  • Build application (use eclipse for now, gradle still WIP)
  • Set up postgres database (Many tutorials exist, choose one applicable to your distribution, configure securely)
  • Run DDL's (in /DDL/UrlMinifierV1.sql) in the local database.

##Debian+tomcat Instructions

  • install apache2, mod_proxy
  • debian: apt-get install apache2 libapache2-mod-jk
  • install tomcat
  • apt-get install tomcat8 tomcat8-admin
  • uncomment and modify /etc/tomcat8/tomcat-users.xml
  • run a2enmod proxy*
  • run a2enmod rewrite
  • uncomment in /etc/tomcat8/server.xml
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <!--
    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
    -->
  • Restart Apache
  • Place config files(/config/), edit where needed
  • Deploy war in tomcat
  • Copy urlmini.xml and log4j.xml onto filesystem (in this example,
  • Modify /etc/default/tomcat8 to include location to configuration, see example, these files will go in /etc/minimizer/
JAVA_OPTS="-Djava.awt.headless=true -Xmx512m -XX:+UseConcMarkSweepGC -DCONFIG_XML=/etc/minimizer/urlmini.xml -Dlog4j.configurationFile=/etc/minimizer/log4j2.xml"
  • Deploy war to tomcat
  • Configure apache to rewrite url from / to web app context root.

#TODO

  • Memory Caching plugin (common used aliases should be stored in memory)
  • UI Improvements

urlminimizer's People

Contributors

dblaber 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.