Built to get a simple mission into orbit quickly.
Write a simple one pager, a small demo, or use it as a base for something bigger. Mercury is a simple boilerplate, so there's room for anything.
yarn install (or npm install)
yarn start (or npm start)
Clone this project to your local machine. Run npm install. This should run bower install and gulp build. If, for some reason, those two commands fail to run, you should run them manually.
To run Browsersync, open gulpfile.js, and change 'CONFIG_THIS' on line 198 to the name of your local dev url. Save the file. Navigate to the main Mercury directory in command line and run gulp serve.
When you run a gulp command, such as gulp style_task or gulp scripts_task, unminified files are created in the src/ directory.
To create production ready files, run gulp --production, and minified files will be created in the dist/ directory. The index.html file will automatically be updated with the dist/ file paths for scripts and styles as well. Running gulp without the production flag will switch the file paths in index.html back to src/.
Issues and Contributions
Report issues: https://github.com/iamhexcoder/mercury/issues
Contributors are welcome. Make a pull request, open an issue to request a feature or propose a change. Any help is always appreciated.