mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Add script to quickly run docs
This commit is contained in:
parent
6bbf104555
commit
b514e71258
1 changed files with 32 additions and 0 deletions
32
tools/run_documentation.ps1
Normal file
32
tools/run_documentation.ps1
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Helper script to run mongodb.
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
This script will detect mongodb, add it to the PATH and launch it on specified port and db location.
|
||||||
|
|
||||||
|
.EXAMPLE
|
||||||
|
|
||||||
|
PS> .\run_mongo.ps1
|
||||||
|
|
||||||
|
#>
|
||||||
|
|
||||||
|
$art = @"
|
||||||
|
|
||||||
|
▒█▀▀▀█ █▀▀█ █▀▀ █▀▀▄ ▒█▀▀█ █░░█ █▀▀█ █▀▀ ▀█▀ ▀█▀ ▀█▀
|
||||||
|
▒█░░▒█ █░░█ █▀▀ █░░█ ▒█▄▄█ █▄▄█ █░░█ █▀▀ ▒█░ ▒█░ ▒█░
|
||||||
|
▒█▄▄▄█ █▀▀▀ ▀▀▀ ▀░░▀ ▒█░░░ ▄▄▄█ █▀▀▀ ▀▀▀ ▄█▄ ▄█▄ ▄█▄
|
||||||
|
.---= [ by Pype Club ] =---.
|
||||||
|
https://openpype.io
|
||||||
|
|
||||||
|
"@
|
||||||
|
|
||||||
|
Write-Host $art -ForegroundColor DarkGreen
|
||||||
|
|
||||||
|
$script_dir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
|
||||||
|
$openpype_root = (Get-Item $script_dir).parent.FullName
|
||||||
|
|
||||||
|
cd $openpype_root/website
|
||||||
|
|
||||||
|
yarn run start
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue