This repository was archived by the owner on Sep 21, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +30
-3
lines changed
views/Dashboard/components/LatestOrders Expand file tree Collapse file tree 3 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Description: This is the building and deploying script for BCOS.
4+
5+ # Navigate to /home/portal_user/bco_editor/frontend/
6+ cd /home/portal_user/bco_editor/frontend/
7+
8+ # Get rid of the build folder.
9+ rm -rf build
10+
11+ # Install node packages, then build.
12+ # The install command has to be run with sudo?, see https://github.com/sass/node-sass/issues/2264
13+ # sudo -u portal_user npm install
14+ npm install
15+ npm run-script build
16+
17+ # Get rid of everything in the portal already.
18+ cd /var/www/html/portal/
19+ sudo rm -rf *
20+
21+ # Go back to the build folder and copy everything over.
22+ cd /home/portal_user/bco_editor/frontend/build/
23+ sudo cp -rf ./ /var/www/html/portal/
24+
25+ # Restart nginx and gunicorn.
26+ # systemctl restart nginx
27+ # systemctl restart gunicorn
Original file line number Diff line number Diff line change 22export const onLink = ( router , toLink = '/' ) => ( ) => {
33 alert ( router ) ;
44 if ( localStorage . formChanged === '1' ) {
5- let result = window . confirm ( "You will be lost data. Please confirm ." ) ;
5+ let result = window . confirm ( "If you navigate away from this page you will lose your unsaved changes ." ) ;
66 if ( result ) {
77 router . push ( toLink )
88 }
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ const EnhancedTableToolbar = props => {
143143 </ Typography >
144144 ) : (
145145 < Typography className = { classes . title } variant = "h6" id = "tableTitle" >
146- Bco Object List
146+ BioCompute Object List
147147 </ Typography >
148148 ) }
149149
@@ -166,7 +166,7 @@ const EnhancedTableToolbar = props => {
166166 variant = "outlined"
167167 onClick = { props . onGotoNewBco }
168168 >
169- New BioCompute Object
169+ Create New BCO
170170 </ Button >
171171 </ Tooltip >
172172 ) }
You can’t perform that action at this time.
0 commit comments