Pastebin alternative for local usage.
Web application as an alternative for pastebin, allows to serve a text content via unique URL. Can be deployed in internal network as an internal tool.
- creating content from text input or file (up to 5mb)
- serving content via unique urls
- searching by title/author
- last 10 pastes
- securing paste by password (optional)
- Build war file using
mvn clean package -Dmaven.test.skip=true
- Create postgresql database
- Set JVM argument for tomcat application in setenv.sh
-Dstacktrack-database=path_to_properties_file
example: export CATALINA_OPTS="$CATALINA_OPTS -Dstacktrack-database=/usr/share/tomcat8/conf/stacktrack-database.properties
- Create properties file with your database credentials:
db.url=jdbc:postgresql://localhost:5432/stacktrack
db.username=postgres
db.password=admin
- Deploy war on tomcat
- Enjoy and paste your stacks