-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
21 lines (21 loc) · 1.04 KB
/
package.json
File metadata and controls
21 lines (21 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "statster",
"version": "1.0.0",
"description": "Statster",
"main": "index.js",
"scripts": {
"sync-prod":"ssh teelmo@saksa2 git -C /home/teelmo/Sites/statster.info pull",
"push": "git push && git push github master",
"start-services":"sudo apachectl restart && brew services restart mariadb && open http://statster.local/",
"get-latest-prod-db":"scp backupper@teelmo.info:/home/backupper/vs6828/Backups/db-statster.info-$(date +\"%Y-%m-%d\").sql.bz2 .",
"truncate-local-db":"mysql -Nse 'show tables' -D statster -ustatster -pstatster | while read table; do echo \"SET FOREIGN_KEY_CHECKS=0;truncate table $table;SET FOREIGN_KEY_CHECKS=1;\"; done | mysql statster -ustatster -pstatster",
"populate-local-db":"bzip2 -dc db-statster.info-$(date +\"%Y-%m-%d\").sql.bz2 | mysql -u statster -pstatster statster"
},
"repository": {
"type": "git",
"url": "git+ssh://git@bitbucket.org/teelmo/statster.git"
},
"author": "Teemo Tebest, teemo.tebest@gmail.com",
"license": "",
"homepage": "http://statster.info"
}