Basic work request form for use by graphic design department.
Single page form with basic file upload function. Sends content via PHP mail.
- NodeJS
- Bower
- Git (Optional)
- Install NodeJS
- Install Bower
- Clone/checkout https://github.com/Nukefactory/work-form.git or download the .zip
- Install dependencies:
- Run '$ npm install' from working directory
- Run '$ bower install' from working directory
- Run gulp to build: '$ gulp'
Subfolders are labelled in 'src'. HTML pages are built using pug but can be substituted with standard HTML if preferred (standard HTML will still copy to dist on build).
'dist' folder will build and run browsersync for local building, but must be uploaded/run from server with PHP available in order to receive completed form contents. Think LAMP/MAMP et al if you don't have a server handy. First couple of lines in 'send-mail.php' need to be updated with whatever email you want to receive at/send from before anything will arrive.
Feel free to hack and build upon as needed. Pull requests for improvements welcomed. Hope it can be of some use.