To enable communication with external APIs and repositories, you need to set up a CORS proxy: put the corsProxy.js in another folder and install its dependencies with npm.
npm install @isomorphic-git/cors-proxy
npm install express
node corsProxy.js
Open the settings file in the root of your repository. Define your component's attributes using the following format:
[attributes]
map-title = نقشه ایران
Customize the index.html file to suit your requirements.
<body>
<component-launcher
updateInterval="20000" // checks your web component's repository with this interval
repoUrl="https://github.com/ahmadkani/wc" // your repository address
username=""
password="x-oauth-basic" //username and password if your repository is private
attributes='{"map-data":"..."}'
fileName="iran-map.js"> // your web component's filename in the root of repo
</component-launcher>
</body>