Dynamic Templates

How to publish dynamic templates


We have streamlined the process of publishing dynamic templates on placecode.io to make it as familiar and straightforward as possible for users. When you create a dynamic template using placecode, you can follow the same familiar steps to push your code to GitHub, just like any other repository.

Step 1: GitHub Repository Setup

To identify your template as a valid dynamic template on placecode.io, your GitHub repository must contain the following:

  1. .placecode folder: This folder is essential as it contains all the necessary files and configurations related to processing dynamic templates within your project.
  2. placecode.json file: The placecode.json file is the heart of your dynamic template, containing all the feature information required for generating the template. This file plays a critical role in determining the dynamic nature of your template.

Please ensure that both the .placecode folder and the placecode.json file are present in your repository. If these components are missing, placecode.io will treat the template as a static template.

Step 2: Template Submission on placecode.io

Once you have pushed your code to GitHub and ensured that the necessary components are in place, you can proceed to the placecode.io/creator page. There, you can provide the link to your GitHub repository for your dynamic template.

Step 3: Validation and Verification

The next step involves validating your template. During the validation process, placecode.io will run your repository through various checks and validation functions to ensure that it meets the required criteria for a dynamic template. If your template passes all the validation checks, it will be considered valid and eligible for submission.

Step 4: Template Submission

After successful validation, you can proceed with submitting your dynamic template to placecode.io. By doing so, you make your template available to the developer community on placecode.io. Other developers can now discover and utilize your dynamic template, saving valuable time and effort when starting new projects.