mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-31 15:37:49 +00:00
This is a fresh start for the `artcraft` repo. The old monorepo, which included our web API gateway, job services, SRE tools, various frontends, and more has moved to `artcraft-services` You can find the full git history here: https://github.com/storytold/artcraft-services This change was motivated by the fact that the entire git history was hundreds of gigabytes in size, which is unwieldy for anyone not in the core team that doesn't care about support services outside of the core artcraft app. We wanted to keep this repo in its well-known place since we already have users and activity here. Please update your remotes to either `artcraft-services` or make a fresh clone of this repo. History can be found at the artcraft-services repo.
32 lines
857 B
PowerShell
32 lines
857 B
PowerShell
# This runs Artcraft Frontend in dev mode on Windows
|
|
|
|
Write-Host "Running Artcraft Frontend in Dev Mode..."
|
|
Write-Host ""
|
|
Write-Host "You'll need to launch the Rust dev server as a second script!" -ForegroundColor red -BackgroundColor white
|
|
Write-Host ""
|
|
|
|
Push-Location -Path ".\frontend"
|
|
|
|
$env:VITE_ENVIRONMENT_TYPE="production"
|
|
|
|
try
|
|
{
|
|
Write-Host "Installing latest dependencies..."
|
|
Write-Host ""
|
|
Write-Host "You may need to run ./clean_modules.sh or manually clean up occasionally!" -ForegroundColor red -BackgroundColor white
|
|
Write-Host ""
|
|
|
|
npm install --verbose
|
|
|
|
Write-Host "Running dev server..."
|
|
Write-Host ""
|
|
Write-Host "If this isn't running on port 5173, you may need to kill a zombie process!" -ForegroundColor red -BackgroundColor white
|
|
Write-Host ""
|
|
|
|
npx nx dev artcraft
|
|
}
|
|
finally
|
|
{
|
|
Pop-Location
|
|
}
|