-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch over to our own dev server for the client
This version will allow us a lot more control over stubbing and faking out responses from the "server" in the future. Splits /client into two sections, each with their own package.json [1] /client: Now just for the literal client. No "build" dependencies in this project. [2] /client_toolchain: For all the code and dependencies necessary to compile the client as well as run the dev server. npm commands have been reworked: `$ npm start` - starts the dev server `$ npm deploy` - compiles the client for production (and updates dependencies if necessary) `$ npm dev-deps` - Installs additional development dependencies
- Loading branch information
Showing
20 changed files
with
6,214 additions
and
5,613 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
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 |
---|---|---|
@@ -1,21 +1,36 @@ | ||
# Client | ||
|
||
## Development setup | ||
## Setup | ||
|
||
First, install the "Current" version of [Node.js](https://nodejs.org/). | ||
Install the "Current" version of [Node.js](https://nodejs.org/). | ||
|
||
Then install dependencies: | ||
## Deploying | ||
|
||
To build the production version of the client, run: | ||
|
||
``` | ||
$ npm run deploy | ||
``` | ||
|
||
## Development | ||
|
||
First install dependencies: | ||
|
||
``` | ||
$ npm run dev-deps | ||
``` | ||
|
||
Then start the development server: | ||
|
||
``` | ||
$ cd client | ||
$ npm ci | ||
$ npm start | ||
``` | ||
|
||
Finally, run `$ npm start` to run the development server. Or run `$ npm run build` to build the production version (to be checked in). | ||
Then visit [http://localhost:8080] in your browser to see your local version. | ||
|
||
## Recommended editor setup | ||
|
||
I strongly recommend using [VS Code](https://code.visualstudio.com/). | ||
|
||
Install the Vetur extension (View > Extensions). After installing, click the | ||
gear icon | ||
gear icon > Extension Settings.. > Enable "Template Interpolation Service". |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.