One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
import { Injectable } from '@angular/core'; | |
import { AngularFireDatabaseModule, AngularFireDatabase, FirebaseListObservable } from 'angularfire2/database'; | |
import { AngularFireAuth } from 'angularfire2/auth'; | |
import { Router } from "@angular/router"; | |
import * as firebase from 'firebase'; | |
@Injectable() | |
export class AuthService { |
#!/bin/bash | |
laravel new $1 | |
cd $1 | |
composer install | |
yarn install | |
touch README.md | |
cp .env.example .env | |
git init | |
git add -A |
# Disable Directory listing | |
Options -Indexes | |
# block files which needs to be hidden // in here specify .example extension of the file | |
<Files ~ "\.(env|json|config.js|md|gitignore|gitattributes|lock)$"> | |
Order allow,deny | |
Deny from all | |
</Files> | |
# in here specify full file name sperator '|' |
Option 1 | |
Step1: composer update | |
Step2: rm -rf node_modules | |
Step3: npm cache clean | |
Step4: npm install | |
Step5: npm run watch | |
Option 2 | |
Step1: composer update | |
Step2: rm -rf node_modules |
-git clone linktogithubrepo.com/ projectName | |
-Go to the folder application using cd command on your cmd or terminal | |
-Run composer install on your cmd or terminal | |
-Run npm install ( | |
if error encountered in this process, | |
1). rm -rf node_modules ->2). npm cache clear --force ->3). then npm install | |
Or | |
1). npm cache clear --force ->2). then npm install | |
) | |
-cp .env.example .env -> Copy .env.example file to .env on the root folder. You can type copy .env.example .env if using command prompt Windows or cp .env.example .env if using terminal, Ubuntu |
git checkout -b [name_of_your_new_branch]
git push origin [name_of_your_new_branch]
step 1: composer clearcache | |
step 2: composer global update |
First Do this ... | |
git fetch origin master | |
git merge master | |
Then, do this ... | |
git fetch origin master:tmp | |
git rebase tmp | |
git push origin HEAD:master |