-
Notifications
You must be signed in to change notification settings - Fork 852
Add developer setup guides and update README #2917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Developer seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Reveiw task created: https://virtocommerce.atlassian.net/browse/VCST-3364 |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.986
Timestamp: 28-05-2025T14:29:53
|
||
### Issue 1: "Unable to run your project" (Docker Compose Error) | ||
**Problem**: Running `dotnet run` from wrong directory shows Docker Compose error | ||
**Cause**: VirtoCommerce has multiple projects; running from root triggers Docker Compose mode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Virto Commerce Platform has multiple projects...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is for proper LLM index, otherwise it will mix up folders to run from
2. **Configure backend connection:** | ||
```bash | ||
# Create .env file with correct backend URL | ||
echo APP_BACKEND_URL=http://localhost:10645 > .env |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using .env.local
is better
```bash | ||
# Find and kill the process using the port | ||
netstat -ano | findstr ":10645" | ||
Stop-Process -Id <ProcessId> -Force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stop-Process
is a PowerShell command, so probably you should replace bash
with powershell
everywhere
``` | ||
|
||
**Option B: Local SQL Server** | ||
Update `appsettings.Development.json`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing platform files is not recommended. Instead, you should use user secrets or environment variables.
# Copy built files | ||
Copy-Item "src\VirtoCommerce.McpServer.Web\bin\Debug\net8.0\*" "D:\work\vc-platform\modules\VirtoCommerce.McpServer" -Recurse -Force | ||
|
||
# Copy essential module files | ||
Copy-Item "src\VirtoCommerce.McpServer.Web\module.manifest" "D:\work\vc-platform\modules\VirtoCommerce.McpServer\" -Force | ||
New-Item -ItemType Directory -Path "D:\work\vc-platform\modules\VirtoCommerce.McpServer\Scripts" -Force | ||
Copy-Item "src\VirtoCommerce.McpServer.Web\Scripts\*" "D:\work\vc-platform\modules\VirtoCommerce.McpServer\Scripts\" -Recurse -Force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is too complicated. A better way is cloning right into vc-platform\modules or creating a link with mklink
Summary
This PR adds comprehensive setup guides for developers working with VirtoCommerce:
Benefits
Image tag:
ghcr.io/VirtoCommerce/platform:3.890.0-pr-2917-db2f-add-developer-setup-guides-db2fbfa6