Fix up setupTest Environment

dependabot/npm_and_yarn/server/tar-4.4.19
sigonasr2, Sig, Sigo 3 years ago
parent c724f6bcdc
commit 75719f272e
  1. 3
      init2.sql
  2. 6
      setupTestEnvironment
  3. 4
      start

@ -1423,4 +1423,5 @@ insert into class_skill_data(name,class_skill_id,dependency,level,effect,duratio
values('Assault Charge Advent',(SELECT id from class_skill WHERE name='Assault Charge Advent' limit 1),'',1,'Effect Name',30,24,1.0,1.1,false,0.8,'',0,0,0,0,0,0,0.6,0,0);
insert into skill_tree_data(class_id,data,skill_data,line_color,line_width,gridsizex,gridsizey,gridpaddingx,gridpaddingy,halflineheight)
values((select id from class where name='Hunter'),'□ □ ,└□─┘□□, │ ││, │ □│, □─□┼□, □ ','','#000000',3,80,60,10,10,60);
values((select id from class where name='Hunter'),'□ □ ,└□─┘□□, │ ││, │ □│, □─□┼□, □ ','','#000000',3,80,60,10,10,60);

@ -6,6 +6,12 @@ touch server/.env.twitter
touch frontend/.env
cp -r ../ngsplanner_backend/* server2
cp init.sql init2.sql
echo "" >> init2.sql
echo "\c postgres">>init2.sql
echo "" >> init2.sql
echo "create table password(password text);" >> init2.sql
echo "insert into password(password) values('admin')" >> init2.sql
echo "" >> init2.sql
echo "create database ngsplanner2;">>init2.sql
echo "create database ngsplanner;">>init2.sql
echo "\c ngsplanner2">>init2.sql

@ -1,5 +1,7 @@
cd /workspace/projectdivar
docker-compose down
docker-compose up -d
cd ../ngsplanner
npm install
npm start
npm start
cd /workspace/projectdivar
Loading…
Cancel
Save