Sfoglia il codice sorgente

README: 'use as library' instructions

Herbert Vojčík 9 anni fa
parent
commit
b7619f3464
1 ha cambiato i file con 23 aggiunte e 0 eliminazioni
  1. 23 0
      root/README.md

+ 23 - 0
root/README.md

@@ -4,6 +4,29 @@
 
 ## Getting Started
 
+Install Amber and create an Amber project,
+as shown in [Amber Instructions](https://github.com/amber-smalltalk/amber#prerequisites).
+
+## Use {%= name %} as a library in a client project
+
+If not already present, create a client project
+in an empty directory with `amber init`.
+
+In a client project, run
+
+```sh
+bower install {%= name %} --save
+grunt devel
+amber serve
+```
+
+Go to `http://localhost:4000/` in your browser and
+in all packages that use {%= name %},
+add `'{%= namespace %}/{%= name %}'` to the package imports,
+save the change and commit the package. Reload.
+
+## Contributing
+
 To bring project alive (for example after `git clone`):
 
 ```sh