File tree Expand file tree Collapse file tree
src/serverless/integrations/usecases/chat Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252 uses : actions/checkout@v2
5353
5454 - name : Install root dependencies
55- run : sed -i -e 's/postinstall/'randomthing'/g' ./package.json && npm ci
55+ run : npm ci
5656
5757 - name : Run tests
5858 working-directory : ./backend
7070 - name : Check out repository code
7171 uses : actions/checkout@v2
7272
73- - name : Install root dependencies
74- run : npm ci
73+ - name : Install dependencies
74+ run : npm ci && cd ./src/serverless/integrations && npm ci && cd ./../dbOperations && npm ci && cd ./../microservices/nodejs && npm ci
7575
7676 - name : change db port in env
7777 working-directory : ./backend
Original file line number Diff line number Diff line change 1616 uses : actions/checkout@v2
1717
1818 - name : Install root dependencies
19- run : sed -i -e 's/postinstall/'randomthing'/g' ./package.json && npm ci
19+ run : npm ci
2020
2121 - name : Run docs script
2222 working-directory : ./backend
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ FROM node:16.16.0 as builder
33WORKDIR /usr/crowd/backend
44COPY . .
55
6- RUN sed -i -e 's/postinstall/'randomthing'/g' ./package.json && \
7- npm install && \
6+ RUN npm install && \
87 npm run build && \
98 cp ./package.json ./dist/package.json
109
Original file line number Diff line number Diff line change @@ -35,5 +35,4 @@ RUN cd ./src/serverless/microservices/python \
3535 && cd ../microservices/nodejs && npm i \
3636 && cd ../python/serverless && npm i \
3737 && cd /usr/crowd/backend \
38- && sed -i -e 's/postinstall/'randomthing'/g' ./package.json \
3938 && npm i
Original file line number Diff line number Diff line change 2424 "stripe:login" : " stripe login" ,
2525 "stripe:start" : " stripe listen --forward-to localhost:8080/api/plan/stripe/webhook" ,
2626 "lint" : " npx eslint ." ,
27- "format" : " npx prettier --write ." ,
28- "postinstall" : " bash ./util/postinstall.sh"
27+ "format" : " npx prettier --write ."
2928 },
3029 "dependencies" : {
3130 "@cubejs-client/core" : " ^0.30.4" ,
Original file line number Diff line number Diff line change @@ -33,5 +33,3 @@ async function getChannels(
3333}
3434
3535export default getChannels
36-
37- // getDestinations('877903817948147752', 'ODc3OTEwNjM0MzA4NzA2MzI0.YR5f_g.TrYuoK2yWA5-LpPlDQ0Nlzc8dOE')
Original file line number Diff line number Diff line change 1+
2+ #! /usr/bin/bash
3+
4+ pushd backend
5+ npm ci
6+ popd
7+
8+ pushd backend/src/serverless/integrations
9+ npm ci
10+ npm run sls-webpack
11+ popd
12+
13+ pushd backend/src/serverless/dbOperations
14+ npm ci
15+ npm run sls-webpack
16+ popd
17+
18+ pushd backend/src/serverless/microservices/nodejs
19+ npm ci
20+ npm run sls-webpack
21+ popd
22+
23+ pushd ../premium/conversations
24+ npm ci
25+ popd
26+
27+ python3.8 -m venv venv-crowd
28+ source venv-crowd/bin/activate
29+ pip install --upgrade pip
30+
31+ pushd backend/src/serverless/microservices/python
32+ pip install -r requirements.txt
33+ pip install -r requirements.dev.txt
34+ popd
35+
36+ pushd backend/src/serverless/microservices/python/serverless
37+ npm ci
38+ popd
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -45,5 +45,6 @@ echo $IS_DEV
4545if [[ " $IS_DEV " = false ]]; then
4646 cd $CLI_HOME /docker && docker-compose -p crowd up --force-recreate
4747else
48+ bash backend/util/install-all.sh
4849 cd $CLI_HOME /docker && docker-compose -f docker-compose.yaml -f docker-compose.dev.yaml -p crowd up --force-recreate
4950fi
You can’t perform that action at this time.
0 commit comments