<commit_before>![Doko My GP](screenshot-multi.png "Doko My GP")

# Doko My GP

Mobile app to search a general practitioner in England.
I created it using:
- [ReactJS](http://facebook.github.io/react/) for managing the different components of the App
- [Import.io](https://import.io/) for the API data (scraped from the [NHS](http://www.nhs.uk/) website)
- [Building Blocks](http://buildingfirefoxos.com/) for the GUI


## Getting started
Run these commands in your terminal in the directory of the cloned repository:

```
npm install
bower install
```

If you don't have Gulp already installed, execute this command :
```
npm install -g gulp
```

And finally this command to have your automatic build:
```
gulp default
gulp watch
```

You need a HTTP server to serve your files. I will certainly add an express instance soon. For now, you can use this command (which is useful for a quick HTTP server) :
```
python -m SimpleHTTPServer
```

Don't forget to run it in the root folder of the project. Enjoy :smiley:<commit_msg>Add instructions to launch the project depending on the platforn<commit_after>![Doko My GP](screenshot-multi.png "Doko My GP")

# Doko My GP

Mobile app to search a general practitioner in England.
I created it using:
- [ReactJS](http://facebook.github.io/react/) for managing the different components of the App
- [Import.io](https://import.io/) for the API data (scraped from the [NHS](http://www.nhs.uk/) website)
- [Building Blocks](http://buildingfirefoxos.com/) for the GUI


## Getting started
Run these commands in your terminal in the directory of the cloned repository:

```
npm install
bower install
```

If you don't have Gulp already installed, execute this command :
```
npm install -g gulp
```

And finally this command to have your automatic build:
```
gulp default
gulp watch
```

You need a HTTP server to serve your files. I will certainly add an express instance soon. For now, you can use this command (which is useful for a quick HTTP server) :
```
python -m SimpleHTTPServer
```

Don't forget to run it in the root folder of the project. Enjoy :smiley:


## Launch the app

### Firefox OS

You need to install the [Firefox OS 2.0 Simulator](ftp://ftp.eu.mozilla.org/pub/labs/fxos-simulator/index.html) in Firefox. As soon as it's installed, Click **Add Hosted app** in the menu and enter ```http://localhost:8000/manifest.webapp``` if you launched the Python Web Server.

### Google Chrome Packaged app
Copy this url in your navigation bar:

```
chrome://extensions/
```

Enable the developer mode and add the folder of the project.

### Atom Shell
Just run Atom Shell from the root of your folder project.
{'fraction_non_alphanumeric': 0.10064078401809272, 'fraction_numerical': 0.0022615906520919715, 'mean_word_length': 4.193737769080235, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '37098', 'n_tokens_mistral': 794, 'n_tokens_neox': 748, 'n_words': 364}