Installation
Step-by-step guide to install the language module and set up the necessary environment to start using it.
The JavaScript Language Module can be installed in two ways: manually downloading the release or using the Plugify package manager. This guide explains both methods and provides step-by-step instructions.
Method 1: Manual Installation
Download the Release
- Go to the JavaScript Language Module repository.
- Navigate to the Releases section.
- Download the latest release package (e.g.,
plugify-module-v8.zip
).
Extract the Package
- Extract the downloaded package to a temporary directory.
Place the Module in the Modules Folder
- Locate the
modules
folder in your Plugify installation directory. - Copy the extracted module files into the
modules
folder.
Verify Installation
- Start Plugify.
- The JavaScript Language Module should now be available for use.
Method 2: Installation via Package Manager
Add the Repository (if needed)
If the JavaScript Language Module is not found in the default package repository, you need to add the repository manually.
Option A: Add Repository via Command
- Run the following command in your terminal:
Option B: Add Repository via plugify.pconfig
- Open the
plugify.pconfig
file in your Plugify installation directory. - Add the following line under the
repositories
section:
Install the Module
- Run the following command in your terminal:
Verify Installation
- Start Plugify.
- The JavaScript Language Module should now be installed and ready for use.
Folder Structure
After installation, the JavaScript Language Module should have the following folder structure:
- res/modules/
- plugify-module-v8/
- bin/
- plugify-module-v8.dll
- libplugify-module-v8.so
- plugify-module-v8.pmodule
Explanation
res/modules/plugify-module-v8
: The root folder for the JavaScript Language Module.bin
: Contains the compiled module binaries (.dll
for Windows,.so
for Linux and.dylib
for macOS).plugify-module-v8.pmodule
: The module manifest file that describes the module and its language.
Troubleshooting
Module Not Found
- Ensure the repository URL is correct and accessible.
- Verify that the repository has been added to
plugify.pconfig
or via theplg repo <url>
command.
Installation Fails
- Check your internet connection.
- Ensure you have the latest version of Plugify installed.