-
Notifications
You must be signed in to change notification settings - Fork 2
Home
If you haven't yet, please contact [email protected] to let us know you want to participate in this exercise. Please make sure you supply your Github username, this will be used to provision your environment.
Note: You must fork this repository in order to make changes!
In this exercise, you will be connecting to a server hosting a development environment for you. This guide will walk through how to connect to this server to make changes, view the changes in your browser, and provide instructions for configuring your FTP client if needed.
If you would prefer to set up and use your own development environment, you can see the project requirements and installation steps.
<GHUser>
should be replaced in any commands or URIs with your Github username.
Hostname: <GHUser>.test-sandbox.baseplatform.io
Username: <GHUser>
Password: <GHUser>
You will need to connect to your environment using SSH. If you are Windows and do not have an SSH client, download Putty.
Open your Terminal and execute the following command to connect to your instance. When prompted, your password is the same as your username.
ssh <GHUser>@test-sandbox.baseplatform.io
You now have a connection open to your environment -- you will use this later when committing your changes. For now, you will need to generate an SSH key and add it to your Github account to allow your changes to be saved to your fork.
In the SSH prompt, execute ssh-keygen -t rsa -b 4096
to generate a new SSH key. Press the Enter key to use the default settings in each of the following prompts. After you have generated your key, type cat .ssh/id_rsa.pub
to display your public key. Copy the following line of text (Starts with ssh-rsa
and ends with <GHUser>@test-sandbox.baseplatform.io
).
Next, go to SSH Keys under your Github account settings. Click on Add SSH Key and paste your new public key into the Key
field. Then select Add Key at the bottom.
If you are comfortable using server-side tools such as vim
or nano
, you can use them to modify files in your workspace via SSH.
If you prefer a local text editor or IDE, you can use these configuration instructions to configure an FTP client to access your files. Your FTP client must be capable of SFTP (FTP over SSH), or use the recommended clients.
You can view your instance of the application by visiting the Hostname
above in your browser.
To commit a change, use the command-line git
application.
- To see what files are changed, execute
git status
. - To see what is changed, execute
git diff[ filename]
. - To add a file to be committed, execute
git add <filename>
. - To commit your changes, execute
git commit -m '<message>'
. - To push your changes to your repository, execute
git push
.