#Adding an existing project to GitHub using the command line
Simple steps to add existing project to Github.
In Terminal, change the current working directory to your local project.
##2. Initialize the local directory as a Git repository.
git init
| - [-] Install *LTSP 20.3* on *debian10-ltsp* | |
| - [X] Change to root | |
| : su - | |
| - [X] Configure PPA | |
| The PPA gets updated before the repository (even debian testing) | |
| : wget https://ltsp.org/misc/ltsp-ubuntu-ppa-bionic.list -O /etc/apt/sources.list.d/ltsp-ubuntu-ppa-bionic.list | |
| : wget https://ltsp.org/misc/ltsp_ubuntu_ppa.gpg -O /etc/apt/trusted.gpg.d/ltsp_ubuntu_ppa.gpg |
| # What is our setup | |
| pi@raspberrypi:~ $ cat /etc/debian_version | |
| 9.4 | |
| pi@raspberrypi:~ $ lsb_release --all | |
| No LSB modules are available. | |
| Distributor ID: Raspbian | |
| Description: Raspbian GNU/Linux 9.4 (stretch) | |
| Release: 9.4 | |
| Codename: stretch |
| #!/bin/sh | |
| # Generate self signed root CA cert | |
| openssl req -nodes -x509 -newkey rsa:2048 -keyout ca.key -out ca.crt -subj "/C=AU/ST=NSW/L=Sydney/O=MongoDB/OU=root/CN=`hostname -f`/[email protected]" | |
| # Generate server cert to be signed | |
| openssl req -nodes -newkey rsa:2048 -keyout server.key -out server.csr -subj "/C=AU/ST=NSW/L=Sydney/O=MongoDB/OU=server/CN=`hostname -f`/[email protected]" | |
| # Sign the server cert |