updated readme
This commit is contained in:
		
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							@@ -1,10 +1,12 @@
 | 
				
			|||||||
# micro:bit target for PXT
 | 
					# Calliope target for PXT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This target allow to program a [Calliope](http://calliope.cc/) using 
 | 
					This target allow to program a [Calliope](http://calliope.cc/) using 
 | 
				
			||||||
PXT ([Microsoft Programming Experience Toolkit](https://github.com/Microsoft/pxt)).
 | 
					PXT ([Microsoft Programming Experience Toolkit](https://github.com/Microsoft/pxt)).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[](https://travis-ci.org/Microsoft/pxt-calliope)
 | 
					[](https://travis-ci.org/Microsoft/pxt-calliope)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Local server
 | 
					## Local server
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The local server allows to run the editor and the documentation from your computer.
 | 
					The local server allows to run the editor and the documentation from your computer.
 | 
				
			||||||
@@ -17,7 +19,7 @@ The following commands are a 1-time setup after synching the repo on your machin
 | 
				
			|||||||
* [clone this repo](https://help.github.com/articles/cloning-a-repository/) to your computer and go in the project folder
 | 
					* [clone this repo](https://help.github.com/articles/cloning-a-repository/) to your computer and go in the project folder
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
git clone https://github.com/microsoft/pxt-calliope
 | 
					git clone https://github.com/microsoft/pxt-calliope
 | 
				
			||||||
cd pxt-microbit
 | 
					cd pxt-calliope
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
* install the PXT command line (add ``sudo`` for Mac/Linux shells).
 | 
					* install the PXT command line (add ``sudo`` for Mac/Linux shells).
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
@@ -30,14 +32,15 @@ npm install
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### Running
 | 
					### Running
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Run this command to open a local web server (add ``sudo`` for Mac/Linux shells)
 | 
					Run this command to open a local web server (add ``sudo`` for Mac/Linux shells).
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
pxt serve
 | 
					pxt serve
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
If the local server opens in the wrong browser, make sure to copy the URL containing the local token. 
 | 
					If the local server opens in the wrong browser, make sure to copy the URL containing the local token. 
 | 
				
			||||||
Otherwise, the editor will not be able to load the projects.
 | 
					Otherwise, the editor will not be able to load the projects.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
If you need modify the `.cpp` files, turn on yotta compilation with the ``-yt`` flag (add ``sudo`` for Mac/Linux shells):
 | 
					If you need modify the `.cpp` files, turn on yotta compilation with the ``-yt`` flag (add ``sudo`` for Mac/Linux shells). On Windows, you must be running
 | 
				
			||||||
 | 
					from the ``Run Yotta`` command prompt.
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
pxt serve -yt
 | 
					pxt serve -yt
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user