# First Demo Command

Let's start by creating a new repository on Github. In this case we suggest using an existing repository as a template:

Go to: `https://github.com/scenerygraphics/minimal-sciview-example-project`

And click "Use this template" (shown as a green button in the image below)

![](https://1840025532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqBCy3SBefXis0YnrcI%2Fsync%2F84496f88b431fa1133b39bccf6d6b2bba3b8943e.png?generation=1606662534107406\&alt=media)

Now give your repository a name

![](https://1840025532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqBCy3SBefXis0YnrcI%2Fsync%2Fe7d561fd70dc5f362d3538dc1a7f2bc95cc66501.png?generation=1606662531120444\&alt=media)

Once you click "Create repository from template" and wait for it to complete, you will have a page like this

![](https://1840025532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqBCy3SBefXis0YnrcI%2Fsync%2F1ce7b37205e74bd2ea5d48b6fc3f3c4b3ca624e8.png?generation=1606662533254821\&alt=media)

Now open up IntelliJ and create your new project

![](https://1840025532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqBCy3SBefXis0YnrcI%2Fsync%2F8b8bb562544f14216f83f95c7f1d8da61e62bc52.png?generation=1606662536067180\&alt=media)

Click on "Get from Version Control" (or "Open or Import" if you have already downloaded/cloned the repository)

![](https://1840025532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqBCy3SBefXis0YnrcI%2Fsync%2F4fc35980df259d58a8e6242427236b4fb21de68c.png?generation=1606662530049683\&alt=media)

You can find this URL in your browser from the Github page of your repository

![](https://1840025532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqBCy3SBefXis0YnrcI%2Fsync%2Ff1d26f55564dbfdef3188c7d7f37d03855371bb4.png?generation=1606662534981763\&alt=media)

Almost there! Now expand the directories with your code inside IntelliJ

![](https://1840025532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqBCy3SBefXis0YnrcI%2Fsync%2Fce9f50b1bb4f8d2b27efc0497a4b5e0491ec248a.png?generation=1606662537007511\&alt=media)

Open "MyDemo" and you will see the code for this command

![](https://1840025532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqBCy3SBefXis0YnrcI%2Fsync%2Fb6b78a92c3d6748cd7c8353d8a988ba9d1810f74.png?generation=1606662532146858\&alt=media)

## Tips for making your command

IntelliJ provides many additional features that can speed up your coding process, such as autocompletion of commands. Try typing `sciView.` and see the menu that shows up:

![](https://1840025532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqBCy3SBefXis0YnrcI%2Fsync%2Fb47e29679779e9e6a5498e48d2ba0983dff8141b.png?generation=1606662774780419\&alt=media)
