-
Notifications
You must be signed in to change notification settings - Fork 0
Setup Guide
- Download and extract the newest squeak image
- On Windows, run the
squeak.bat
file in the extracted image directory - You may have to allow squeak to run as it could be blocked by default
- Complete the setup-wizard by clicking
Configure
in the welcome overlay
-
Run the Git Browser (either the 'for experts' or the normal version from the
App
menu -
The browser might prompt you to create a local project. Select
No (n)
-
Right-Click the
Projects
-Section and selectClone Project
-
Enter the https url for the PixelEditor repository https://github.com/hpi-swa-teaching/PixelEditor.git click
Accept
-
Select a directory for the git project. This is not the same as your squeak image. You can choose to add it into the image directory but it is adviced to create a extra folder for it
-
Enter your first and last name. This will be used for future commit messages
-
Enter a email address. This too will be added to your commit messages and will be public!
-
Enter a name for the project. It is adviced to use the same name as the repository. In this cas
PixelEditor
-
The project is loaded (
main
branch)
-
You can already view and edit local commits but pushing is not possible. Set it up by clicking
Push
in the Git browser UI -
Enter your github username. Double check that you have all required permissions for the repository including write permissions. Do not put in your password in the next dialoug box!
-
Head over to Github and click on your profile picture in the top right. Click on
Settings
-
Scroll down and select
Developer settings
in the sidebar -
Select
Token (classic)
from thePersonal access tokens
entry. -
Select
Token (Classic)
from theGenerate new token
button in the top right -
Enter a token note and a expiration date. Allow at minimum the
write:packages
andread:packages
permissions -
Click
Generate
and note your acess token from the next screen. -
Return to Squeak and enter the token into the password input. After submitting Squeak will try to push your commits.
Maybe Squeak will run into an error. In that case switch the app from Git Browser
to Git for experts
or try the command line version when prompted.