Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Compiling the Development Build

Ayrton Sparling edited this page Mar 1, 2017 · 3 revisions

Building lightdm-webkit2-material2

Dependencies

Make sure you have the following installed on your system and accessible in your path before continuing.

Build procedure

1. Clone this repository

git clone https://github.com/FallingSnow/lightdm-webkit2-material2.git

2. Change directories to the cloned repository

cd lightdm-webkit2-material2

3. Install dependencies

npm install

4a. Build

You can either build the theme for usage in ligthdm-webkit2-greeter or run the theme in development mode on your web browser. Either

  • build the theme for usage with lightdm-webkit2-greeter

    npm run build
    

    This will result in a build directory containing the theme.

  • run the theme in developer mode

    npm run dev
    

    Open your browser and navigate to http://localhost:8080.

4b. Build & Package

npm run pack

This creates a .tar.gz in the root directory containing the theme. It basically tars the build directory and compresses it.

If you have trouble building the theme please open an issue.