-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
58b56f9
commit d2a300f
Showing
2 changed files
with
16 additions
and
3 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 |
---|---|---|
|
@@ -2,12 +2,25 @@ | |
|
||
1. clone repository | ||
2. Run `npm install` | ||
3. Run `npm run build` (this is required for a fresh start) | ||
3. Run `npm run build` (this is required for a fresh start) | ||
|
||
We need frontend and backend server to be started for this application. | ||
|
||
Frontend server compiles assets, while backend server communicates with CodeceptJS and processes HTTP and WebSocket requests. HTTP is used to send commands from client to CodeceptJS, and websockets are used to send notifications from CodeceptJS to application. | ||
|
||
Note: if you error when building the app, just set this `NODE_OPTIONS=--openssl-legacy-provider` in your terminal | ||
|
||
``` | ||
> @codeceptjs/[email protected] build | ||
> vue-cli-service build | ||
⠹ Building for production...Error: error:0308010C:digital envelope routines::unsupported | ||
at new Hash (node:internal/crypto/hash:69:19) | ||
at Object.createHash (node:crypto:133:10) | ||
``` | ||
|
||
|
||
Both servers must be executed for development: | ||
|
||
### Launch application in Electron mode: | ||
|
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