home scroll deno

cncjs autolevel widget blog December 2022

Dec 12, 2022

In order to document the experience, I decided to create a blog to capture the steps taken.
I found out that github supports creating web pages-This seems the logical place to put this information.

https://pages.github.com/

git Refresher

This page also contains the basic informations for sending updated code to github:

Add, commit, and push your changes:

git add --all
git commit -m "Initial commit"
git push -u origin main

https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories

Github has changed the authentication procedure so that you can't push code with a password any longer.

Ways to authenticate:
Create classic token and use it in place of the password when issuing git push 
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

Alternative method:
https://github.com/GitCredentialManager/git-credential-manager

Dec 13, 2022

Authentication for git could be done in the past by entering user name and password in the command line. github no longer allows this method, instead we can use a credential manager.

preparation for using credential manager

git config --global credential.credentialStore secretservice

https://techoverflow.net/2021/09/19/how-to-fix-git-credential-manager-core-git-fatal-no-credential-backing-store-has-been-selected/


now, when running git push
git
              credential manager

Click on Token and enter the token generated in the previous step.
Now git push will work without entering the credentials.

Now we can start with the process of working on cncjs.

Original cncjs repository is at
https://github.com/cncjs/cncjs

In the root of this repository is a file named CONTRIBUTING.md
It describes how to setup devcelopment environment.

https://docs.github.com/en/get-started/quickstart/fork-a-repo

Date


Follow Me

discord