forked from Capstone-Matching/capstone-matching
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhistory.txt
51 lines (51 loc) · 1.82 KB
/
history.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
1 ssh-keygen -t ed25519 -C "[email protected]"
2 eval "$(ssh-agent -s)"
3 ssh-add ~/.ssh/id_ed25519
4 cat .ssh/id_ed25519.pub
5 yum --version
6 git
7 curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash —
8 sudo apt install curl
9 curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash —
10 sudo apt-get update
11 sudo apt-get install git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev nodejs yarn
12 cd git clone https://github.com/rbenv/rbenv.git ~/.rbenv
13 git clone https://github.com/rbenv/rbenv.git
14 cd ~/rbenv/
15 cd ..
16 rm -rf rbenv/
17 curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
18 ~/.rbenv/bin/rbenv init
19 vi ~/.bashrc
20 source ~/.bashrc
21 wget -q "https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-doctor" -O- | bash
22 rbenv install 3.2.2
23 rbenv install 3.2.2 --verbose
24 rbenv global 3.2.2
25 gem install bundler
26 bundle config set --local without 'production'
27 bundle install
28 rbenv local 3.2.2
29 bundle install
30 mkdir proj
31 cd proj
32 gem install bundler
33 bundle config set --local without 'production'
34 bundle install
35 cd
36 rm -rf proj/
37 gem update --system
38 gem install rails -v 7.0.7.2
39* rails new
40 ls
41 cd capstone-matching/
42 git init
43 git add --all
44 git commit
45 git add .gitignore
46 git add .ruby-version
47 git commit
48 git remote add origin [email protected]:Capstone-Matching/capstone-matching.git
49 git push -u origin main
50 cd ..
51 history > history.txt