Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Starting point for the Dev Summit Europe 2022 course on the ArcGIS API for JavaScript

Notifications You must be signed in to change notification settings

kjetilhartveit/dev-summit-europe-2022-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dev-summit-europe-2022-template

Berlin Equal Street Names Template to use for the tutorial (starting point).

Deploy to GitHub Pages

Create gh-pages branch

You can skip this part if you used the template by copying all branches, which includs the gh-pages branch that is part of this project.

If you only copied the main branch, follow these steps to create an orphan gh-pages branch (meaning it does not share any history with main):

rm -rf dist
git checkout --orphan gh-pages
git rm -rf .
git commit --allow-empty -m "Init empty branch"
git push origin gh-pages

Return to main branch:

git checkout main

Checkout gh-pages branch in dist/ folder

The following will create a dist folder (fails if it already exists) and make it point to the root of the gh-pages branch:

git worktree add dist gh-pages

Deploy new version on gh-pages branch

Once the previous steps have been completed, you can repeat the following every time you want to deploy a new version of your local code:

npm run build
cd dist/
git add .
git commit -am '🎉'
git push origin gh-pages
cd ../

About

Starting point for the Dev Summit Europe 2022 course on the ArcGIS API for JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 77.8%
  • JavaScript 9.5%
  • HTML 8.2%
  • CSS 4.5%