Installing WebForms is easy provided the guides are followed fully. Please take note of the below requirements for WebForms.
- Linux (Ubuntu) machine to operate. Commonly known as a VPS or dedicated box
- Domain Name
- Discord Account
Complete the install of a LEMN stack if you have not done so before.
Now upload your WebForms files into a new directory on the machine under
Install the database by logging into MySQL.
mysql -u root -pto login to MySQL
Now in MySQL run
source /home/webforms/installme.sql to install the MySQL database.
Leave the MySQL console by using
Edit the config.json file located at
Then open a new screen session.
Now run the below commands to get WebForms started.
cd /home/webforms npm install node .
First things first, create a Discord application through the Discord developer portal
Now on the OAuth2 page you will need to add the following as a redirect and replace the domain with yours. This is used in our login callback to actually log the user in.
example.com to represent your domain name.
Now, copy the Client ID and place it in the config file of WebForms under the
discord section. Also copy the Client Secret from the Discord page into your Webforms config.
oauthId = Client ID
oauthToken = Client Secret
Save file. Completed.
To edit the site's logo or background you can find your WebForms root directory. Then navigate to
public/img/ and you can replace the files there! (Needs to be .png)!!
WebForms will now be started and running.
Go to your website & login with Discord. If you made yourself an admin in your
config.json you should be able to access everything in the Staff section and edit as needed!
Review this page