You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

angular-server-side-configuration

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-server-side-configuration - npm Package Compare versions

Comparing version

to
2.0.0

2

package.json
{
"name": "angular-server-side-configuration",
"version": "2.0.0-beta.3",
"version": "2.0.0",
"description": "Configure an angular application on the server",

@@ -5,0 +5,0 @@ "main": "./main.js",

@@ -127,2 +127,31 @@ # angular-server-side-configuration

#### Native CLI
This library provides a native implementation for the `insert` command of the CLI. Go to
[Releases](https://github.com/kyubisation/angular-server-side-configuration/releases) and download the appropriate
executable for your server environment.
(See [build.sh](https://github.com/kyubisation/angular-server-side-configuration/blob/master/src/go-cli/build.sh) for
build details of the native CLI. Please open an [Issue](https://github.com/kyubisation/angular-server-side-configuration/issues/new)
if you need an additional environment.)
Thanks to [DanielHabenicht](https://github.com/DanielHabenicht) for the input and contribution.
##### Minimal Example
Dockerfile
```Dockerfile
FROM nginx:alpine
ADD https://github.com/kyubisation/angular-server-side-configuration/releases/download/v2.0.0/ngssc_64bit /usr/sbin/ngssc
RUN chmod +x /usr/sbin/ngssc
COPY dist /usr/share/nginx/html
COPY start.sh start.sh
RUN chmod +x ./start.sh
CMD ["./start.sh"]
```
start.sh
```bash
#!/bin/sh
ngssc insert /usr/share/nginx/html
nginx -g 'daemon off;'
```
## CLI

@@ -129,0 +158,0 @@ angular-server-side-configuration provides a CLI.