Skip to content

How To Upload A Code Change

MaynardMiner edited this page Jan 22, 2020 · 11 revisions

Developing SWARM

I have had multiple users state "I wish I knew how to make changes, or I would help you.". It is actually super simple to make changes.

Here is a step-by-step guide to developing SWARM.

LINUX

1.) Install Visual Studio Code

https://code.visualstudio.com/Download

2. Install git & register it

sudo apt-get install git

git config --global user.name [username]

git config --global user.email [email]

3.) Fork SWARM

Go to github.com and select the fork button on the upper right hand of the screen.

Now clone your fork.

git clone https://github.com/[username]/SWARM.git

This is the file you are developing on. It will turn into SWARM folder.

2.) Install Powershell Extension

Visual Studio Code MUST always be ran as root, or else you will get issues with file permissions.

sudo code --user-data-dir

Go to extensions window, type powershell in the search box- click the install button for the powershell extension.

You are now ready to code!

<iframe width="560" height="315" src="https://www.youtube.com/embed/AKNYgP0yEOY" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Clone this wiki locally