[go: up one dir, main page]

0% found this document useful (0 votes)
66 views4 pages

Intro Autocode

The document provides instructions for signing up for a GitLab account, forking a repository on Autocode to complete a task, cloning the forked repository using SSH, HTTPS, or an IDE, pushing changes to the repository, and submitting the solution on Autocode.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views4 pages

Intro Autocode

The document provides instructions for signing up for a GitLab account, forking a repository on Autocode to complete a task, cloning the forked repository using SSH, HTTPS, or an IDE, pushing changes to the repository, and submitting the solution on Autocode.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Before start, you need to authorize into your GitLab account.

If you don't have GitLab account, to sign up for GitLab, you can follow these simple steps:

1. Go to the GitLab website at https://gitlab.com/


2. Click on the "Sign in / Register" button located in the upper right-hand corner of the
screen.
3. On the Sign in page, click the "Register" button located beneath the login form.
4. You'll be taken to the registration page where you'll be prompted to provide your
email address and create a password for your account.
5. You can also sign up using a social media account like GitHub, Google or Twitter by
clicking the relevant button.
6. Once you've filled in the required details, click the "Register" button to create your
GitLab account. After that, you'll receive a confirmation email to the email address
you provided during registration. Follow the instructions in the email to verify your
account and complete the registration process.

On Autocode platform you can find the task "Print Hello World".

Click “Enroll” to start the task.

Click “Start” to fork the repository

Click the link “Example” to get your forked one.


Go to GitLab.

Clone your project with SSH, HTTPS or IDE.

SSH
To clone the repository using SSH, you will have to generate an SSH key for your computer
and register it with Gitlab. This way, Gitlab will understand that you are the one trying to
access your own repository. You can do this by following the simple instructions at
https://docs.gitlab.com/ee/ssh/.

HTTPS

If you do not wish to generate an SSH key, you can use an HTTPS link. Then, when accessing
the Gitlab repository, you will have to go through authentication—you will need to enter
your login and password. You will probably not need to enter your login and password every
time; Windows has a special tool—Credential Manager—that automatically memorizes Gitlab
account data after the first entry.

IDE

You can use an IDE to complete the exercises. Click “Visual Studio Code (SSH)” or “Visual
Studio Code (HTTPS)” and follow the instructions in the IDE.

When you have completed the task, push this to the repository. Return to Autocode and click
on Submit solution.

If the tests are not successful, Autocode will show the reported errors. Click "Details" to see
more information. If the tests are successful on your computer, it is likely that everything will
be fine in Autocode."

If you are satisfied with the score you received and are ready to finish the task, you can try to
improve your score by submitting your solution again after making necessary changes in
your solution.

Note! The number of attempts is limited!


If your attempt was successful, you can finish the exercise by clicking Finish.

You might also like