Installing Scheduler

In order to start using Scheduler, you need to:

  1. Include the necessary JS and CSS scripts into an HTML file;
  2. Call the object constructor.

Included files

You need to include 4 files on a page:

<html>
 <head>
  <!-- Webix Library -->
  <script src="codebase/webix.js" type="text/javascript"></script>
  <link rel="stylesheet" href="codebase/webix.css" type="text/css">
 
  <!-- Scheduler -->
  <script type="text/javascript" src="codebase/scheduler.js"></script>
  <link rel="stylesheet" href="codebase/scheduler.css" type="text/css">
 </head>
 <body>
    <!-- Scheduler constructor -->
    <script>
        webix.ui({
            view: "scheduler",
            url: "https://docs.webix.com/calendar-backend/",
        });
</script> </body> </html>

See the next chapter to learn more ways of creating Scheduler on a page.

Starting a Backend Server

Using NodeJs

To get the NodeJS backend for Scheduler, clone the repo and start the repo locally as:

npm install
 
npm start

Using Golang

To get the Golang backend for Scheduler, clone the repo, configure DB connection and create config.yml file with DB access config. After that run the following commands:

go build
 
# bash
./wsh
 
# cmd
wsh

Running Package Samples Locally

To run package samples on a local machine you should navigate to the Scheduler root folder, install the necessary dependencies and start a development server as:

// navigate to the root folder
cd scheduler
 
// install dependencies
yarn install //or npm install
 
// start dev server
yarn server //or npm run server
Back to top