Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
35 views

PHP Artisan Migrate:refresh PHP Artisan Scholio:refresh

This document provides instructions for setting up and managing a Laravel project. It includes commands for migrating databases, seeding data, running tests, managing Git repositories, and configuring aliases to simplify common tasks. Bash profile customizations are also outlined to set up aliases for Laravel and project-specific commands.
Copyright
© © All Rights Reserved
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

PHP Artisan Migrate:refresh PHP Artisan Scholio:refresh

This document provides instructions for setting up and managing a Laravel project. It includes commands for migrating databases, seeding data, running tests, managing Git repositories, and configuring aliases to simplify common tasks. Bash profile customizations are also outlined to set up aliases for Laravel and project-specific commands.
Copyright
© © All Rights Reserved
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 4

git push vps master

Schol.io13

cd /Volumes/Mac\ HD/DownLoads/GitHub/scholio

php artisan migrate:rollback


php artisan migrate

php artisan migrate:refresh mref / mref-s


php artisan scholio:refresh pa scholio:refresh -s

composer dump-autoload
php artisan db:seed --class=DatabaseSeeder seed-d
php artisan db:seed --class=PrivateAll
php artisan db:seed --class=SchoolsFakeSeeder
php artisan db:seed --class=AddmissionSeeder
php artisan passport:keys
php artisan passport:install
php artisan serve

php artisan scholio:refresh -s


pa scholio:refresh -s

php artisan view:clear


php artisan cache:clear

npm run dev


nom run watch
nom run hot

composer install
composer update
npm install
valet unlink
valet link
valet restart

cd /Users/kfrei/courseraTest/webApp/Schol.io
browser-sync start --server --directory --files “**/*”

SQL Database
host: localhost
port: 8889
user: root
password: root

*===============*

git init
git@bitbucket.org:siokas/scholio.git
git remote add -t refspec remotename git@bitbucket.org:siokas/scholio.git

git branch kfrei.dev


git branch master
git checkout master
git checkout feature/panel/social-login
git branch -D panel
git fetch origin panel

git checkout -b old-state bf33874

[Git delete/discard changes]


git stash save --keep-index
git stash drop
git reset origin/master --hard
git reset --hard 975d483fdccd4c43d4e246e48c283e91612eab0d
for vue packages error mismatch

in package.json do
"vue-template-compiler": "^2.4.4”,"vue": "^2.4.4”
to have same version of vue & vie-template-compiler

error: laravel-mix/webpack/….js missing


delete all node_modules folder & package-lock.json
and run nom install from start

vim ~/.bash_profile
e (edit)

# Basic Laravel commands


alias pa="php artisan" # Run artisan commands
alias nlar=nlar # Create new App
alias csqlite="touch database/database.sqlite" # Create database.sqlite file
alias lpu="./vendor/bin/phpunit" # Run phpunit test
# All Laravel make commands
alias mmigration="php artisan make:migration"
alias mcontroller="php artisan make:controller"
alias mmiddleware="php artisan make:middleware"
alias mmodel="php artisan make:model"
alias mauth="php artisan make:auth"
alias migr="php artisan migrate:rollback"
alias mig="php artisan migrate"
alias mref="php artisan migrate:refresh"
alias mtest="php artisan make:test"
alias mprovider="php artisan make:provider"
alias mconsole="php artisan make:console"
alias mevent="php artisan make:event"
alias mjob="php artisan make:job"
alias mlistener="php artisan make:listener"
alias mpolicy="php artisan make:policy"
alias mrequest="php artisan make:request"
alias mseeder="php artisan make:seeder"
# Peronal Preference Aliaces
alias seed="php artisan db:seed"
alias seed-d="php artisan db:seed --class='DatabaseSeeder'"
alias mref-s="mref;seed"

press esc
:wq + enter
source ~/.bash_profile

valet share ->>>> for ngrok live server

Please enter a commit message to explain why


this merge is necessary, especially if it merges
an updated upstream into a topic branch
It's not a Git error message, it's the editor as git uses your default editor.

To solve this:

1. press "i"
2. write your merge message
3. press "esc"
4. write ":wq"
5. then press enter

Php artisan scholio:seoRegionRefresh

`data` JSON NOT NULL, —>> `data` varchar(1000) NOT NULL,

You might also like