- Use GitHub to create
your-asset-repo
from this template - In the directory in which you want to develop, clone
your-asset-repo
cd your-asset-repo
npm install
: NPM will install required dependenciesnpm run dev
: NPM will serve this repos "docs" folder as an asset host on port 8181
You can now add your own assets to the "docs" directory to be hosted locally and/or committed to the repository to be served from a GitHub Pages site.
- Drag-and-drop an asset (such as "image.png") into the "docs" folder
- Access your hosted asset at https://localhost:8181/image.png, from the browser or from code
This repository is intended to be a "jumping off point" for moving ideas from prototyping into active development. This repo provides a mechanism for basic asset hosting kept separate from software development. This separation is part of the recommended workflow for creating Babylon.js experiences which can eventually be integrated in other projects for circulation. For more information, check out the docs page.
This template repository has no default assets, so no license is provided by default. When adding assets to a repository created from this template, please ensure that all licensing concerns have been addressed appropriately. If you add assets that are licensed from elsewhere, please be sure to copy all appropriate licenses and attributions alongside those assets. If you add assets of your own, please consider specifying the license under which these assets are uploaded -- for example, by specifying a Creative Commons license suited to your needs.