Git Product home page Git Product logo

mysticpaste's Introduction

Overview

This pastebin was built using Apache Wicket. The original code was built by several folks as a tutorial for learning Wicket named 5 Days of Wicket. There's a link in the navigation to the source code which you can peruse at your leisure.

The idea of a pastebin is simple, copy all or a fragment of code you need help with into the content box on the page. Select which language the code is in for nice syntax highlighting provided by the SyntaxHighlighter JavaScript library. You will receive a small URL to paste into an email, IRC, mailing list, or instant message to receive help on your issue.

We have plugins for 4 different development environments so you can paste directly from the editor.

Environment Configuration

Wicket 1.5 Configuration

In order to use Wicket 1.5 you need to either modify the pom.xml to use 1.5-M3 or latest milestone:

<wicket.version>1.5-M3</wicket.version>

Or checkout latest from Subversion and manually install it with Maven: % svn co http://svn.apache.org/repos/asf/wicket/trunk/ wicket-1.5 % cd wicket-1.5 % mvn install -Dmaven.test.skip=true

The Mystic bits

Mystic Paste is setup with Maven so to build a war, just type

mvn package -Dmaven.test.skip=true

Pull it into any IDE and find the Start.java in web/src/test/java/com/mysticcoders

Execute the main and you should have a pastebin running.

Deploying

Deployment should be as simple as adding your own filters-DEV.properties and then typing :

mvn package -Dmaven.test.skip=true -PDEV

mysticpaste's People

Contributors

kinabalu avatar martin-g avatar

Stargazers

Justin Lee avatar

Watchers

Justin Lee avatar  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.