0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Update Contributing Docs to include Developer tips

This commit is contained in:
Clinton Ryan 2014-01-15 01:38:36 +11:00
parent c82d2eadba
commit 344edeac4c

View file

@ -206,11 +206,15 @@ templates
If something goes wrong, please see the If something goes wrong, please see the
[troubleshooting tips](https://github.com/TryGhost/Ghost/blob/master/CONTRIBUTING.md#troubleshooting--faq) below. [troubleshooting tips](https://github.com/TryGhost/Ghost/blob/master/CONTRIBUTING.md#troubleshooting--faq) below.
Front-end can be located at <http://localhost:2368>, Admin is at <http://localhost:2368/ghost/>. ### Developer Tips
Whilst developing, you can take advantage of the [Grunt toolkit](https://github.com/TryGhost/Ghost/wiki/Grunt-Toolkit) to automatically compile assets, such as handlebar templates, stylesheets and javascripts. Some useful commands include:
- `grunt dev` => Automatically compile assets in development environment
- `grunt prod` => Automatically compile assets in production environment
- `grunt watch` => Automatically compile sass and handlebars
Whist developing you may wish to use **grunt watch** to watch for changes to handlebars and sass and recompile Addresses for development:
automatically, if you run Ghost in **production** mode, you will need to run **grunt prod** - - Front-end => <http://localhost:2368>
please see the [Grunt Toolkit docs](https://github.com/TryGhost/Ghost/wiki/Grunt-Toolkit). - Admin => <http://localhost:2368/ghost/>
### Updating with the latest changes ### Updating with the latest changes