Skip to content
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

Walk thru #1

Merged
merged 2 commits into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*.user
*.userosscache
*.sln.docstates
wwwroot/

# Build results
[Dd]ebug/
Expand Down
21 changes: 20 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,26 @@
"sourceMaps": true,
"trace": true,
"preLaunchTask": "npm: dev - src/Web",
"postDebugTask": "Close tasks"
"postDebugTask": "postdebugKill"
},

{
"type": "pwa-chrome",
"request": "launch",
"name": "Run PWA",
"webRoot": "${workspaceFolder}/src/ClientApp",
"sourceMaps": true,
"trace": true,
"url": "http://localhost:5050",
// "runtimeArgs": [
// "--app=http://localhost:5050"
// ],
"sourceMapPathOverrides": {
"../../src/ClientApp": "${workspaceFolder}/src/ClientApp",
"../../src/ClientApp/*": "${workspaceFolder}/src/ClientApp/*"
},
"preLaunchTask": "npm run dev-task",
"postDebugTask": "postdebugKill"
}
],
}
45 changes: 10 additions & 35 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"version": "2.0.0",
"editor.formatOnSave": false,
"editor.tabSize": 4,
"editor.insertSpaces": true,
Expand All @@ -11,39 +10,7 @@
"[javascript]": {
"editor.tabSize": 4
},
"tasks": [
{
"label": "npm run dev-task",
"type": "npm",
"script": "dev-task",
"isBackground": true,
"problemMatcher": {
"owner": "custom",
"pattern": {
"regexp": "^$"
},
"background": {
"activeOnStart": true,
"beginsPattern": ".*",
"endsPattern": "ready in .+"
}
},
},
{
"label": "postdebugKill",
"command": "echo ${input:terminate}",
"type": "shell",
"problemMatcher": []
},
],
"inputs": [
{
"id": "terminate",
"type": "command",
"command": "workbench.action.tasks.terminate",
"args": "npm run dev-task"
}
],

"files.exclude": {
"**/.git": true,
"**/.svn": true,
Expand All @@ -52,5 +19,13 @@
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/node_modules": true
}
},

// allow for linux shell
"terminal.integrated.automationProfile.linux": {
"path": "/usr/bin/bash",
"args": ["-i"]
},
"dotnet.defaultSolution": "MessianicChords.sln"

}
23 changes: 21 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"path": "src/ClientApp",
"isBackground": true,
"label": "npm: install - client",
"detail": "npm run intall"
"detail": "npm run intall",
},
{
"type": "npm",
Expand Down Expand Up @@ -35,7 +35,7 @@
"detail": "npm run dev-server"
},
{
"label": "Close tasks",
"label": "postdebugKill",
"command": "echo ${input:terminate}",
"type": "shell",
"problemMatcher": []
Expand All @@ -57,6 +57,25 @@
},
"problemMatcher": "$msCompile"
},

{
"label": "npm run dev-task",
"type": "npm",
"script": "dev-task",
"path": "src/ClientApp",
"isBackground": true,
"problemMatcher": {
"owner": "custom",
"pattern": {
"regexp": "^$"
},
"background": {
"activeOnStart": true,
"beginsPattern": "vite",
"endsPattern": "ready in"
}
},
},
],
"inputs": [
{
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# MessianicChords

This is the source code for MessianicChords.com, the best place to find lyrics and guitar chords for Messianic Jewish music

## Technologies

We use ASP.NET Core on the server, Lit web components on the client.

## Running locally

Open the .sln solution file in Visual Studio and hit F5 to run the server.

Then `cd ClientApp` and run `npm run dev` to run the client.
Loading