Weblutions Documentation
Weblutions Main Site Contact Us Our Discord
Some pages are still pending proper formatting, if required refer to the legacy documentation website.
Product Documentation IconProduct Documentation

Weblutions Documentation / Product Documentation / WebForms Installation

Updated

WebForms Installation

By Josh M. 2 mins 2

On this page find how to install WebForms on a server and allow your forms to be submitted on your own platform. Manage your data and content as you want to.

Requirements

  • VPS or dedicated server running Linux (Our guides use and recommend Ubuntu)

  • A domain name (like www.example.com)


1. Server Setup

To allow WebForms to run, the required software needs to be present on the server. This software includes; Nginx (web-server), MySQL (database) and, Node.Js with NPM.

If this software is not installed, our LEMN stack setup can be followed for more the installation of any of those components.


2. File Upload

By downloading and uploading the files to a server the database can be setup in step three and application started later on. The files are obviously required. Download the latest version of WebForms from the Weblutions website.

  1. Download and extract the contents of the RAR file to your computer.

  2. Upload the WebForms folder to the server, for example /home/webforms
    This should mean that the index is located at /home/webforms/index.js


3. Install the MySQL Database

Log into your MySQL database server with your required credentials and run the below command to create and setup the table structure.

In most installs accessing the MySQL server can be done by running the mysql -u root -p command.

source /home/webforms/installme.sql

If you have installed FaxTrack to another directory be sure to update the path in the above command.


4. Configuration & Package Installation

Before installing required packages to run WebForms configure the config.json to your needs. After this install the Node modules per the below steps.

  1. Edit the config.json to the desired configuration and save

  2. Install the required modules with the below commands from within the directory.

Change directories into WebForms installation

cd /home/webforms

Install the Node modules with the npm command

npm install

This will install the required content for WebForms.

If any dependency warning messages display they can likely be ignored as a package may be requesting an outdated package.


5. Starting WebForms

To start WebForms we recommend a screen session is used to ensure the application continues to operate once the terminal is closed. To start WebForms use the node command.

node .

Need Assistance?

Our Team are able to assist. Contact us through our website or Discord server and we'll be able to assist.