8000 GitHub - philip928lin/seidm-hw5
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

philip928lin/seidm-hw5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

routine work...

setup ssh key for github

chmod 700 ~/.ssh
(copy or create private key from somewhere else)
chmod 644 ~/.ssh/<key.pub>
chmod 600 ~/.ssh/<key>
sed -i "/IdentityFile/s/id_rsa/<key>/g" ~/.ssh/config

setup github workflow

(fork from public repo to private repo)
git clone git@github.com:<github id>/<repo>.git

setup vim

set nu
set softtabstop=4
set tabstop=4
set shiftwidth=4
set expandtab

setup ubuntu

sudo apt-get update
(cd to the working directory)
xargs sudo apt-get install -y < aptlist

setup python virtualenv

sudo pip install pip --upgrade
sudo pip install virtualenv
virtualenv -p python3 ~/.env
source ~/.env/bin/activate
(cd to the working directory)
pip install -r requirements.txt

setup mysqladmin

mysql-ctl start
mysqladmin -u root password '<root pass>'
(mysqladmin -u root -p'<old root pass>' password '<new root pass>')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0