# Bigle Function Testing
## Steps
### 1. Navigate to the right folder
Warning : some folder contains their own package.json. Therefore you need to navigate in the terminal to the folder that contains the package.json related to the file you are working on.
```
$ \GitHub\bigle-platform-functions
```
Ex : If you are working on render
```
$ cd render
```
### 2. Build the file
Build the file to deploy the new version - otherwise the previous build will be deployed
```
$ npm run build:minified
```
### 3. Deploy
Make sure you use the right evironment
```
$firebase use bigle-platform-test
```
Then deploy
```
$ firebase deploy --only functions:documentEU-render
```