Skip to content

jmzcray/aboutme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aboutme

http://jimz.au

Source code at src/
Compiled code at dist/

Initial setup

  • Setup git-ftp
    • url
    • user
    • password
    • syncroot
    • remote-root
  • Setup git-alias, see example below.

My alias in project's local git, .git/config:

    [alias]
      ftp-deploy = ftp push
      deploy = "!git checkout $1 ;\
                 git merge develop;\
                 git push origin $1 ;\
                 git ftp-deploy;\
                 git checkout develop;\
                 :"

While coding:

  1. grunt - triggers the watch task for js check

  2. git status - check what files have changed and the current branch (make sure it's develop!)

  3. git commit then git push - keep develop branch up-to-date

After making changes and ready for deployment:

  1. grunt build - compile code into dist/ directory

  2. git commit then git push - updates develop branch

  3. git deploy master - updates master branch and git-ftp push to server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published