aboutsummaryrefslogtreecommitdiffstats
path: root/ui/howto_build.md
blob: 7dfb79e08d23e0e16275723bfe024f46850a6be3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Calipso

## Run

```bash                        
./run.sh
```

## Build
  
```bash
meteor build --architecture=os.linux.x86_64 ./
```
  
### Soruce Build

```bash
tar --exclude='./.meteor/local' --exclude='./node_modules' --exclude='./.git' -zcvf ../calipso-source-$(date +%Y-%m-%d).tar.gz .
```
## Testing - Build with Docker 
  
Testing on staging

```bash
docker run -d \
    -e ROOT_URL=http://testing-server-example.com \
    -e MONGO_URL=mongodb://testing-server-example.com:27017/calipso \
    -v /home/ofir/calipso:/bundle \
    -p 80:80 \
    kadirahq/meteord:base
```

Testing on local

```bash
docker run \
   --net=host \
   -e ROOT_URL=http://localhost \
   -e MONGO_URL=mongodb://localhost:27017/calipso \
   -v /home/eyal_work/projects/cisco/output:/bundle \
   kadirahq/meteord:base
```