<commit_before># api-management
API Management for Membrane Service Proxy

###Installation:

Run
```bash
curl https://raw.githubusercontent.com/membrane/api-management/master/install.sh | sh
```
in your local terminal.

###Start
  
Run
```bash 
./membrane-api-mgr/bin/start.sh
```
Open [http://localhost:3000/](http://localhost:3000/)<commit_msg>.gitignore changed<commit_after># api-management
API Management for Membrane Service Proxy

###Installation:

* Install [Membrane Service Proxy](https://github.com/membrane/service-proxy).
* Configure Membrane servive Proxy e.g. by copying $MEMBRANE_HOME/examples/apimanagement/proxies.xml to $MEMBRANE_HOME/conf/proxies.xml
  and adding the following line in your proxies.xml before the router-tag:
```XML
<etcdRegistryApiConfig url="http://localhost:4001"/>
```
* Install [etcd](https://github.com/coreos/etcd) and start it.
* Install [Meteor](https://www.meteor.com/) on your local machine.
* Clone this project.
```bash
git clone https://github.com/membrane/api-management.git
```
* Move terminal to folder and start project.
```bash
cd api-managment/
meteor
```
* Go to [http://localhost:3000/](http://localhost:3000/).
* Register a new user, this will be your first admin.
* Click on login and log in.
* Configure settings.
{'fraction_non_alphanumeric': 0.1450980392156863, 'fraction_numerical': 0.01568627450980392, 'mean_word_length': 4.82648401826484, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 5, 'lorem ipsum': 0, 'www.': 1, 'xml': 3}, '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': '2508463', 'n_tokens_mistral': 445, 'n_tokens_neox': 394, 'n_words': 111}