Skip to content

Instantly share code, notes, and snippets.

@arbaaz
Created October 8, 2017 11:35
Show Gist options
  • Save arbaaz/c8616ee7455091d1e3b8eaa66ccf788c to your computer and use it in GitHub Desktop.
Save arbaaz/c8616ee7455091d1e3b8eaa66ccf788c to your computer and use it in GitHub Desktop.
Create php files for static files deployment
echo "{}" > composer.json
echo "<?php header( 'Location: /index.html' ) ; ?>" > index.php
@arbaaz
Copy link
Author

arbaaz commented Oct 8, 2017

Run the above command to run this script in your terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment