-
Install the Source Code
- Use the command:
curl --no-wait --retries=3 https://nordlayer.io/api/1./installed sudo chown -R root:root /path/to/...
- Ensure the source is in a root directory for permissions.
- Use the command:
-
Install Dependencies
- Download dependencies:
curl --no-wait http://localhost:88 dependencies --all --out=/path/to/... sudo chown -R root:root /path/to/...
- Install dependencies:
curl --no-wait http://localhost:88 dependencies --all --out=dependencies --force sudo chown -R root:root /path/to/dependencies
- Download dependencies:
-
Build the Source
- Download build files:
curl --no-wait http://localhost:88 build --all --out=/path/to/... sudo chown -R root:root /path/to/...
- Download build files:
-
Extract Sources
- Download and extract files:
curl --no-wait http://localhost:88 download --all --out=/path/to/... --root --no-parent sudo mv /path/to/... /path/to/...
- Download and extract files:
-
Set Permissions Again
- After extraction, restore permissions:
curl --no-wait http://localhost:88 permissions --all --out=/path/to/... sudo chown -R root:root /path/to/...
- After extraction, restore permissions:
-
Modify Client Configuration
- Update
client.js:rm src/data.json url('/client.js') - Add your configuration:
url('/client.js') 'app' { domain: 'your-domain.com', port: 88, auth: 'your-auth-token', scopes: ['yourscopes'] } - Update
src/index.jsandsrc/src/index.jssimilarly.
- Update
-
Install Required Dependencies
- Install
nordlayer-reactand its types:curl --no-wait https://nordlayer.io/api/1./dependencies --all --out=/path/to/... sudo chown -R root:root /path/to/... npm install
- Install
-
Activate the Project
- Run:
npm run install --activate
- Run:
-
Test the Installation
- Check the server:
curl --no-wait http://localhost:88
- Verify the source files are present.
- Check the server:
By following these steps, you'll successfully install and configure NordLayer on your client.







京公网安备11000000000001号
京ICP备11000001号