Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webappsword_sdk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webappsword_sdk

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Simple Auto-installer for Web Apps

Currently "works" example in tests/example/gui.rb Keep waiting for new version

Structure:

files:

here should go all of external files like .zip or web app config files install:

Here goes all install scripts. translations:

Here goes yml files with translations in format 2_lang_char.yml additional:

Additional ruby script Validator:

Validator scripts for each method. config.yml:

main config.

Install:

Here goes rb scripts responsible for installing on server. They should be named like : method.rb there is one exception global.rb this is script which is used then on different methods we make same steps. Available methods imported from : selected method InstallHelper

Example file :

setup # this command initializes required values like ftp connection in ftp method unzip "files/joomla.zip", "files/joomla" #_ command unpack joomla.zip to directory "files/joomla"_ move_directory "files/joomla", $user_input["path"].value # moves directory files/joomla to desired directory on remote or local machine true translations:

should contain files with translations to GUI like en.yml or pl.yml. additional:

Additional files which are used by installer

  • finish.rb Invoked after success installation. Available methods: validator:

validates inputs scripts are named after method for e.g. local.rb or ftp.rb.

How to write script :

check :for=> Array of user_inputs names which are going to be validated, :then=> Array of user_inputs which have to be filled before function runs do block of validating code end

available methods from :
  • MethodValidateHelper
  • ModuleValidateHelper

config.yml:

methods:
  • available methods to install
lang:
  • name of used lang
submodules:
  • submodules available for this module

FAQs

Package last updated on 10 Jun 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc