forked from Mirrors/keyoxide-web
fix expected URL with SCHEME env var added
This commit is contained in:
parent
9196aeaad6
commit
21bae8df69
1 changed files with 7 additions and 7 deletions
14
README.md
14
README.md
|
@ -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).
|
||||||
|
|
Loading…
Reference in a new issue