Menu Developer Moovweb University

Develop Locally: Project Generator

The Moovweb Generator is a web interface you can use to generate and download a structured Moovweb project to use as a template when building your projects. To get to the Generator, run the Developer Dashboard in your working directory, and click the “Generate Project” button.


Project Settings

To define a Moovweb project for your website, you just need to give your project a unique name, choose whether you want a single-domain project or a subdomain project, and then set the source domain Moovweb should transform.

The project name can be any set of letters, numbers, and underscores. This is the name you will use to manage and reference this particular project when it is downloaded into your local development environment.

A subdomain project will allow you to specify a particular subdomain that users will need to enter in order to view the transformed version of your website. A single-domain project allows the Control Center to handle traffic to all of your users, and direct different users to different experiences based on their platform or other settings that you can specify in the Control Center project settings.

For example, if your site is www.example.com, a subdomain project might involve users viewing m.example.com to see the transformed site. On a single-domain project, a user would go to www.example.com and, under certain conditions, see the transformed site.

The source domain should be the public URL where people come to see your site. This is where the HTML, CSS, and JavaScript you host already lives, and it provides the source material that Moovweb will transform.


Project Configuration

The are two basic “project configurations” you can select from: JavaScript and Tritium.

The JavaScript configuration allows you to use our Node-based platform to build effective experiences across different endpoints, using a jQuery-like server-side API known as CheerioJS.

The Tritium configuration allows you to use a robust legacy language for the same experience-building procedure.