Skip to content

Latest commit

 

History

History
67 lines (53 loc) · 2.23 KB

GlobalResources.md

File metadata and controls

67 lines (53 loc) · 2.23 KB

Some resources to learn from

Other sources

Git resources

Slides

Tutorials

Links

Optional

Pharo automatic configuration

You can place a file with whatever.st, in the Preferences folder of your OS (check self fullName in the pane of Startup>Version Preferences)

StartupPreferencesLoader default executeAtomicItems: {
	StartupAction 
		name: 'Logo' 
		code: [ PolymorphSystemSettings showDesktopLogo: false] .
	StartupAction 
		name: 'Git Settings' 
		code: [ 
			Iceberg enableMetacelloIntegration: true.
			IceCredentialsProvider sshCredentials
					username: 'git';
					publicKey: '/Users/XXX/.ssh/id_rsa.pub';
					privateKey: '/Users/XX/.ssh/id_rsa'."
			IceCredentialStore current
					storeCredential: (IcePlaintextCredentials new
					username: 'GHUSER';
					password: 'password';
					host: 'github.com';
					yourself).		


			IceCredentialStore current
				storeCredential: (IceTokenCredentials new
					username: 'GHUSER';
					token: 'YOUR TOKEN';
					yourself) 
				forHostname: 'github.com'.
			]. 
}.

Note that the script removes the logo so that we can see if the startup action get executed.