LoginSignup
0
1

More than 5 years have passed since last update.

npmを使ってプロジェクトの作成【ログ】

Posted at

   22  mkdir [ディレクトリ名]
   23  ls -la
   24  cd [ディレクトリ名]
   25  mkdir angular-test
   26  cd angular-test/
   27  npm init
   28  ls -la
   29  ll
   30  ls -la
   31  cat package.json 
   32  npm install @angular/cli 
   33  ls -la
   34  cd node_modules/
   35  ls -la
   36  cd ..
   37  ls -la
   38  cat package
   39  cat package.json 
   40  git init
   41  ls -la
   42  git status
   43  echo node_modules >> .gitignore
   44  git status
   45  echo package-lock.json >> .gitignore
   46  git status
   47  git add
   48  git add .
   49  ls -la
   50  git status
   51  cat .git/config 
   52  git remote add origin [リポジトリURL]
   53  cat .git/config 
   54  git commit -m "init commit"
   55  git config user.name "[名前]"
   56  git config user.email [メアド]
   57  cat .git/config 
   58  git status
   59  git push -u origin master
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1