40 lines
530 B
Makefile
40 lines
530 B
Makefile
push:
|
|
git add --all
|
|
git commit -a
|
|
git push
|
|
|
|
pull:
|
|
git pull
|
|
|
|
version:
|
|
@rails --version
|
|
@whereis rails
|
|
@echo "npm" `npm --version`
|
|
@whereis npm
|
|
@echo "yarn" `yarn -version`
|
|
@whereis yarn
|
|
@ruby --version
|
|
@whereis ruby
|
|
|
|
reset:
|
|
git reset --hard
|
|
|
|
# gem 'devise'
|
|
# bundle install
|
|
# rails generate devise:install
|
|
# rails generate devise User
|
|
# rails db:migrate
|
|
# rails generate devise:views
|
|
|
|
# gem 'webpacker'
|
|
# bundle install
|
|
# rails webpacker:install
|
|
|
|
# gem 'kaminari'
|
|
# bundle install
|
|
# rails g kaminari:views default
|
|
|
|
|
|
|
|
|