fix expected URL with SCHEME env var added

This commit is contained in:
Preston Maness 2023-06-12 00:16:52 -05:00
parent 9196aeaad6
commit 21bae8df69

View file

@ -45,16 +45,16 @@ To run Keyoxide locally on your machine for development:
2. Swap over to LTS: `nvm use --lts` 2. Swap over to LTS: `nvm use --lts`
3. Ensure that yarn is installed: `npm install -g yarn` 3. Ensure that yarn is installed: `npm install -g yarn`
4. Install node dependencies: `yarn` 4. Install node dependencies: `yarn`
5. Run the server a la `DOMAIN='localhost:3000' yarn dev` 5. Run the server locally a la `SCHEME='http' DOMAIN='localhost:3000' yarn dev`
Keyoxide will now be available at [https://localhost:3000](https://localhost:3000) Keyoxide will now be available at [http://localhost:3000](http://localhost:3000)
For **vscode/vscodium** development, a `launcher.json` is provided. Ensure that For **vscode/vscodium** development, a `launcher.json` is provided. Ensure that
the first four steps have been performed at least once to ensure the proper the first four steps have been performed at least once so that the proper node
node and yarn binaries are available to vscode, then load the project. The and yarn binaries are available to vscode, then load the project. The launcher
launcher provides a "Launch via yarn" debug option that will start the project provides a "Launch via yarn" debug option that will start the project with the
with the appropriate version and environment variables set. The project will appropriate version and environment variables set. The project will then be
then be available in a browser. available in a browser.
There is also a `shell.nix` file to install Node and yarn (steps one through There is also a `shell.nix` file to install Node and yarn (steps one through
three above). three above).