npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

confluence-starter

v1.3.1

Published

A module to download Confluence standalone instances and start them automatically.

Downloads

7

Readme

confluence-starter

A command line tool to start a Confluence instance as standalone. It can download any instance directly from the web, unzip it and start it with your desired options like port or context path. This is very useful if you're a developer and need to quickly start a special Confluence version.

The module is intended to work on Mac OS X and it might not work on other systems!

Author

Sebastian Hesse

Features

  • Download and run Confluence standalone with various options
  • List available standalone instances
  • Clean home directory of a specific instance
  • Add user specific environment variables for startup

Getting Started

Since the module is not published yet, you can only checkout the repository and install it manually.

  • Install: npm install -g confluence-starter
  • Run: conf-starter start <version>
  • Explore all commands and options: conf-starter --help

Important: You have to be careful which Java version you're using. Confluence <= 5.7.x is using Java 7 and >= 5.8.x is using Java 8. Thus consider switching the version before using conf-starter.

Tested Confluence versions: >= 5.4.x

Examples:

Start Confluence

Start with defaults: conf-starter start 5.9.6

Defaults:

  • port: 1990
  • contextPath: /confluence
  • Batching: disabled
  • DevMode: enabled
  • StrictMode: disabled
  • Caching: disabled
  • Minification: disabled

Start with specific options

  • Start Confluence on port 1991: conf-starter start 5.9.6 -p 1991
  • Start Confluence with context path /docu: conf-starter start 5.9.6 -c /docu
  • Start Confluence debugging port 1234: conf-starter start 5.9.6 -d 1234
  • Start Confluence without minification: conf-starter start 5.9.6 --min

Show available instances

Show all already downloaded instances: conf-starter list

Clean home directory

Clean the home directory of instance with version 5.9.6: conf-starter clean 5.9.6

User specific environment variables

  • Add a user specific environment variable: conf-starter props-add some.dev.dir=/tmp/dir This will add -Dsome.dev.dir=/tmp/dir to setenv.sh|bat file to each instance you will start in the future.
  • Show your user specific environment variables: conf-starter props-show
  • Reset your user specific environment variables: conf-starter props-reset

Todo

  • Add command to get possible downloadable versions
  • Add command to delete version from disk
  • Reduce dependencies for download and extract
  • Remove downloaded zip file to save disk space
  • Add a GUI like Electron to make it available for people without CLI experience

License

The MIT License (MIT)

Copyright (c) 2016 Sebastian Hesse

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.