Skip to content

Commit a457ba3

Browse files
authored
Merge pull request #607 from MetaCell/feature/606
#606 cleanup scripts and installation process
2 parents b283308 + b67c9a4 commit a457ba3

3 files changed

Lines changed: 14 additions & 116 deletions

File tree

webapp/package.bak

Lines changed: 0 additions & 113 deletions
This file was deleted.
Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
#!/bin/sh
22

3-
set -e
3+
trap ctrl_c INT
4+
5+
ctrl_c() {
6+
echo "### Stopping dev server ###"
7+
mv package.json dev_package.json
8+
mv package.bak package.json
9+
exit 0
10+
}
11+
12+
#set -e
413

514
rm -rf node_modules
615
rm -rf yarn.lock
7-
cp package.json package.bak
8-
cp dev_package.json package.json
16+
mv package.json package.bak
17+
mv dev_package.json package.json
918

1019
yarn global add yalc
1120

@@ -33,3 +42,5 @@ cd $app
3342
yalc add @metacell/geppetto-meta-client
3443
yalc add @metacell/geppetto-meta-core
3544
yalc add @metacell/geppetto-meta-ui
45+
46+
yarn && yarn run start

0 commit comments

Comments
 (0)