mirror of
https://github.com/seancorfield/usermanager-example.git
synced 2025-08-03 18:53:19 +08:00
Simplify, improve, document.
This commit is contained in:
@ -4,17 +4,20 @@
|
||||
"dockerfile": "Dockerfile.dev"
|
||||
},
|
||||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
|
||||
// More info: https://containers.dev/features.
|
||||
"features": {},
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
// Run commands on cluster first start.
|
||||
|
||||
// Run commands on cluster first start. Useful for download dependencies, etc.
|
||||
// "postCreateCommand": "",
|
||||
// Copy host env vars into the devcontainer. You can also refer to some_file.env files in your docker-compose setup.
|
||||
|
||||
// Copy host env vars into the devcontainer. You can also refer to some_file.env files in your docker or docker-compose setup.
|
||||
"remoteEnv": {},
|
||||
// Configure tool-specific properties.
|
||||
|
||||
"customizations": {
|
||||
// Editor plugins and settings
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"betterthantomorrow.calva"
|
||||
|
@ -8,9 +8,13 @@ A variant using [Integrant](https://github.com/weavejester/integrant) and [Reiti
|
||||
|
||||
A version of this application that uses the [Polylith architecture](https://polylith.gitbook.io/) is also available, on the [`polylith` branch](https://github.com/seancorfield/usermanager-example/tree/polylith).
|
||||
|
||||
## Open in codespace
|
||||
## Quickstart via Devcontainers or Github Codespaces
|
||||
If you have configured your Github account, you can start the project without any other setup. It will open a web-based vscode editor backed by a Github Codespace VM. (Codespaces is Github's hosted Devcontainer solution)
|
||||
|
||||
[](https://codespaces.new/jwhitlark/usermanager-example)
|
||||
|
||||
You can also clone this repo locally, and using vscode (with the devcontainer plugin), and Docker Desktop, run an isolated, fully setup version of this application locally. Open the repo in your editor and run the command `Dev Containers: Open Folder in Container...`.
|
||||
|
||||
## Requirements
|
||||
|
||||
This example assumes that you have a recent version of the [Clojure CLI](https://clojure.org/guides/deps_and_cli) installed (at least 1.10.3.933), and provides a `deps.edn` file, and a `build.clj` file.
|
||||
|
Reference in New Issue
Block a user