mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
32 lines
921 B
PowerShell
32 lines
921 B
PowerShell
<#
|
|
.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
|
|
|