-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add auto-quick-setup devcontainer setup
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
{ | ||
"name": "local-intelligence-hub-with-data", | ||
"secrets": {"MAPIT_API_KEY": { | ||
"description": "API key for the MapIt API - optional for small numbers of queries" | ||
}}, | ||
"dockerComposeFile": ["../../docker-compose.yml"], | ||
"service": "web", | ||
"workspaceFolder": "/app", | ||
"overrideCommand": true, | ||
"onCreateCommand": "script/setup-and-import", | ||
"customizations": {"vscode":{"extensions": [ | ||
"ms-vscode.test-adapter-converter", | ||
"bungcip.better-toml", | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"batisteo.vscode-django", | ||
"ms-azuretools.vscode-docker", | ||
"github.vscode-pull-request-github", | ||
"mhutchie.git-graph" | ||
]}} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
# abort on any errors | ||
set -e | ||
|
||
# check that we are in the expected directory | ||
cd `dirname $0`/.. | ||
|
||
# Run the update script | ||
./script/bootstrap | ||
./script/manage migrate | ||
./script/import-all-data |