mirror of
https://github.com/iv-org/documentation.git
synced 2024-12-23 14:29:23 -05:00
Updated Updating (markdown)
This commit is contained in:
parent
ff270ec913
commit
3c90f048ef
@ -9,7 +9,7 @@ $ git pull
|
|||||||
$ latestVersion=$(git describe --tags `git rev-list --tags --max-count=1`)
|
$ latestVersion=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||||
$ git checkout $latestVersion
|
$ git checkout $latestVersion
|
||||||
$ for i in `git rev-list --abbrev-commit $currentVersion..HEAD` ; do file=./config/migrate-scripts/migrate-db-$i.sh ; [ -f $file ] && $file ; done
|
$ for i in `git rev-list --abbrev-commit $currentVersion..HEAD` ; do file=./config/migrate-scripts/migrate-db-$i.sh ; [ -f $file ] && $file ; done
|
||||||
$ shards
|
$ shards update && shards install
|
||||||
$ crystal build src/invidious.cr --release
|
$ crystal build src/invidious.cr --release
|
||||||
$ exit
|
$ exit
|
||||||
$ sudo systemctl restart invidious.service
|
$ sudo systemctl restart invidious.service
|
||||||
@ -22,7 +22,7 @@ $ cd invidious
|
|||||||
$ currentVersion=$(git rev-list --max-count=1 --abbrev-commit HEAD)
|
$ currentVersion=$(git rev-list --max-count=1 --abbrev-commit HEAD)
|
||||||
$ git pull
|
$ git pull
|
||||||
$ for i in `git rev-list --abbrev-commit $currentVersion..HEAD` ; do file=./config/migrate-scripts/migrate-db-$i.sh ; [ -f $file ] && $file ; done
|
$ for i in `git rev-list --abbrev-commit $currentVersion..HEAD` ; do file=./config/migrate-scripts/migrate-db-$i.sh ; [ -f $file ] && $file ; done
|
||||||
$ shards
|
$ shards update && shards install
|
||||||
$ crystal build src/invidious.cr --release
|
$ crystal build src/invidious.cr --release
|
||||||
$ exit
|
$ exit
|
||||||
$ sudo systemctl restart invidious.service
|
$ sudo systemctl restart invidious.service
|
||||||
|
Loading…
Reference in New Issue
Block a user