neelabhgupta.com

My personal website at neelabhgupta.com. Built in PHP and uses the Gumby Framework.

Set up Gumby

Set up FTP deployment

  • Install git-ftp

  • Set up the FTP config for git-ftp:

    $ git config git-ftp.url ftp.neelabhgupta.com/public_html/
    $ git config git-ftp.user <ftp_username>
    $ git config git-ftp.password <ftp_password>
    
  • Initialize git-ftp on FTP site, if not done already:

    $ git ftp init
    

Development

  • Copy dependencies to js/ folder:

    $ ./copy_js_deps.sh
    
  • PHP has a built-in web server for development:

    $ php -S localhost:8000
    
  • Compile Sass:

    $ compass compile
    
  • Watch changes to Sass files and compile automatically:

    $ compass watch
    
  • Build JS files (configured in gumby.json):

    $ claymate build
    
  • Deploy:

    $ git ftp push
    

Licence

(c) 2014, Neelabh Gupta

Share this project:

Updates