Skip to content

Commit

Permalink
Testing sqlite hacking in deploy script #49
Browse files Browse the repository at this point in the history
  • Loading branch information
bpjohannessen committed Jun 29, 2017
1 parent e848283 commit e2fa843
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ echo "Connecting to fettenajs.com with (again)"
ssh [email protected] '
cd /home/bp/www/fettenajs.com/public_html/med/publish
cat database.sql | sqlite3 muscles.db
echo "Hacking sql"
sqlite3 muscles.db 'delete from musclesearch;
insert into musclesearch
select
id,
lat_name,
name,
origo,
insertio,
functio
from
tbl_muscles;'
echo "Starting kestrel"
sudo systemctl start kestrel-muscleweb.service
exit'
Expand Down

0 comments on commit e2fa843

Please sign in to comment.