Skip to content

Commit

Permalink
New Crowdin updates (verdaccio#2325)
Browse files Browse the repository at this point in the history
* docs(website): new translation for puppet.md in Filipino

* docs(website): new translation for puppet.md in Serbian (Latin)

* docs(website): new translation for puppet.md in Tajik

* docs(website): new translation for puppet.md in Yoruba

* docs(website): new translation for repositories.md in Romanian

* docs(website): new translation for repositories.md in Spanish

* docs(website): new translation for repositories.md in Chinese Traditional

* docs(website): new translation for repositories.md in Arabic

* docs(website): new translation for repositories.md in Czech

* docs(website): new translation for repositories.md in German

* docs(website): new translation for repositories.md in Italian

* docs(website): new translation for repositories.md in Japanese

* docs(website): new translation for repositories.md in Korean

* docs(website): new translation for repositories.md in Polish

* docs(website): new translation for repositories.md in Portuguese

* docs(website): new translation for repositories.md in Russian

* docs(website): new translation for repositories.md in Serbian (Cyrillic)

* docs(website): new translation for repositories.md in Chinese Simplified

* docs(website): new translation for reverse-proxy.md in Hindi

* docs(website): new translation for reverse-proxy.md in Serbian (Latin)

* docs(website): new translation for puppet.md in Russian

* docs(website): new translation for server.md in Chinese Traditional

* docs(website): new translation for server.md in Czech

* docs(website): new translation for server.md in German

* docs(website): new translation for server.md in Italian

* docs(website): new translation for server.md in Japanese

* docs(website): new translation for server.md in Korean

* docs(website): new translation for server.md in Polish

* docs(website): new translation for server.md in Portuguese

* docs(website): new translation for server.md in Russian

* docs(website): new translation for server.md in Serbian (Cyrillic)

* docs(website): new translation for server.md in Chinese Simplified

* docs(website): new translation for server.md in Vietnamese

* docs(website): new translation for server.md in Spanish

* docs(website): new translation for server.md in Galician

* docs(website): new translation for server.md in Portuguese, Brazilian

* docs(website): new translation for server.md in Hindi

* docs(website): new translation for server.md in Filipino

* docs(website): new translation for server.md in Serbian (Latin)

* docs(website): new translation for server.md in Tajik

* docs(website): new translation for server.md in Yoruba

* docs(website): new translation for ssl.md in Romanian

* docs(website): new translation for ssl.md in French

* docs(website): new translation for ssl.md in Spanish

* docs(website): new translation for ssl.md in Arabic

* docs(website): new translation for server.md in Arabic

* docs(website): new translation for server.md in French

* docs(website): new translation for reverse-proxy.md in Tajik

* docs(website): new translation for reverse-proxy.md in Yoruba

* docs(website): new translation for server.md in Romanian

* docs(website): new translation for puppet.md in Serbian (Cyrillic)

* docs(website): new translation for puppet.md in Portuguese

* docs(website): new translation for plugins.md in French

* docs(website): new translation for plugins.md in Romanian

* docs(website): new translation for plugins.md in Spanish

* docs(website): new translation for puppet.md in Polish

* docs(website): new translation for protect-your-dependencies.md in Filipino

* docs(website): new translation for protect-your-dependencies.md in Polish

* docs(website): new translation for protect-your-dependencies.md in Portuguese

* docs(website): new translation for protect-your-dependencies.md in Russian

* docs(website): new translation for protect-your-dependencies.md in Serbian (Cyrillic)

* docs(website): new translation for protect-your-dependencies.md in Chinese Simplified

* docs(website): new translation for protect-your-dependencies.md in Chinese Traditional

* docs(website): new translation for protect-your-dependencies.md in Vietnamese

* docs(website): new translation for protect-your-dependencies.md in Galician

* docs(website): new translation for protect-your-dependencies.md in Portuguese, Brazilian

* docs(website): new translation for protect-your-dependencies.md in Hindi

* docs(website): new translation for protect-your-dependencies.md in Serbian (Latin)

* docs(website): new translation for protect-your-dependencies.md in Japanese

* docs(website): new translation for protect-your-dependencies.md in Tajik

* docs(website): new translation for protect-your-dependencies.md in Yoruba

* docs(website): new translation for puppet.md in Romanian

* docs(website): new translation for puppet.md in French

* docs(website): new translation for puppet.md in Spanish

* docs(website): new translation for puppet.md in Arabic

* docs(website): new translation for puppet.md in Czech

* docs(website): new translation for puppet.md in German

* docs(website): new translation for puppet.md in Italian

* docs(website): new translation for puppet.md in Japanese

* docs(website): new translation for puppet.md in Korean

* docs(website): new translation for protect-your-dependencies.md in Korean

* docs(website): new translation for protect-your-dependencies.md in Italian

* docs(website): new translation for plugins.md in Arabic

* docs(website): new translation for plugins.md in Vietnamese

* docs(website): new translation for plugins.md in Czech

* docs(website): new translation for plugins.md in German

* docs(website): new translation for plugins.md in Italian

* docs(website): new translation for plugins.md in Japanese

* docs(website): new translation for plugins.md in Korean

* docs(website): new translation for plugins.md in Polish

* docs(website): new translation for plugins.md in Portuguese

* docs(website): new translation for plugins.md in Russian

* docs(website): new translation for plugins.md in Serbian (Cyrillic)

* docs(website): new translation for plugins.md in Chinese Simplified

* docs(website): new translation for plugins.md in Chinese Traditional

* docs(website): new translation for plugins.md in Galician

* docs(website): new translation for protect-your-dependencies.md in German

* docs(website): new translation for plugins.md in Portuguese, Brazilian

* docs(website): new translation for plugins.md in Hindi

* docs(website): new translation for plugins.md in Filipino

* docs(website): new translation for plugins.md in Serbian (Latin)

* docs(website): new translation for plugins.md in Tajik

* docs(website): new translation for plugins.md in Yoruba

* docs(website): new translation for protect-your-dependencies.md in Romanian

* docs(website): new translation for protect-your-dependencies.md in French

* docs(website): new translation for protect-your-dependencies.md in Spanish

* docs(website): new translation for protect-your-dependencies.md in Arabic

* docs(website): new translation for protect-your-dependencies.md in Czech

* docs(website): new translation for install.md in Czech

* docs(website): new translation for linking.md in Portuguese, Brazilian

* docs(website): new translation for install.md in Spanish

* docs(website): new translation for caching.md in Serbian (Cyrillic)

* docs(website): new translation for caching.md in Spanish

* docs(website): new translation for caching.md in Arabic

* docs(website): new translation for caching.md in Czech

* docs(website): new translation for caching.md in German

* docs(website): new translation for caching.md in Italian

* docs(website): new translation for caching.md in Japanese

* docs(website): new translation for caching.md in Korean

* docs(website): new translation for caching.md in Polish

* docs(website): new translation for caching.md in Portuguese

* docs(website): new translation for caching.md in Russian

* docs(website): new translation for caching.md in Chinese Simplified

* docs(website): new translation for caching.md in Romanian

* docs(website): new translation for caching.md in Chinese Traditional

* docs(website): new translation for caching.md in Vietnamese

* docs(website): new translation for caching.md in Galician

* docs(website): new translation for caching.md in Portuguese, Brazilian

* docs(website): new translation for caching.md in Hindi

* docs(website): new translation for caching.md in Filipino

* docs(website): new translation for caching.md in Serbian (Latin)

* docs(website): new translation for install.md in French

* docs(website): new translation for caching.md in Yoruba

* docs(website): new translation for chef.md in Romanian

* docs(website): new translation for chef.md in French

* docs(website): new translation for caching.md in French

* docs(website): new translation for best-practices.md in Yoruba

* docs(website): new translation for chef.md in Arabic

* docs(website): new translation for best-practices.md in Korean

* docs(website): new translation for best-practices.md in Romanian

* docs(website): new translation for who-is-using.md in Russian

* docs(website): new translation for windows.md in Serbian (Latin)

* docs(website): new translation for windows.md in Tajik

* docs(website): new translation for windows.md in Yoruba

* docs(website): new translation for windows.md in Hindi

* docs(website): new translation for en.json in Chinese Simplified

* docs(website): new translation for windows.md in Filipino

* docs(website): new translation for windows.md in Portuguese, Brazilian

* docs(website): new translation for who-is-using.md in Serbian (Cyrillic)

* docs(website): new translation for windows.md in Spanish

* docs(website): new translation for who-is-using.md in Chinese Simplified

* docs(website): new translation for who-is-using.md in Chinese Traditional

* docs(website): new translation for who-is-using.md in Vietnamese

* docs(website): new translation for who-is-using.md in Galician

* docs(website): new translation for who-is-using.md in Portuguese, Brazilian

* docs(website): new translation for who-is-using.md in Hindi

* docs(website): new translation for who-is-using.md in Filipino

* docs(website): new translation for who-is-using.md in Serbian (Latin)

* docs(website): new translation for who-is-using.md in Tajik

* docs(website): new translation for who-is-using.md in Yoruba

* docs(website): new translation for windows.md in Romanian

* docs(website): new translation for windows.md in French

* docs(website): new translation for windows.md in Arabic

* docs(website): new translation for windows.md in Galician

* docs(website): new translation for windows.md in Czech

* docs(website): new translation for windows.md in German

* docs(website): new translation for windows.md in Italian

* docs(website): new translation for windows.md in Japanese

* docs(website): new translation for windows.md in Korean

* docs(website): new translation for windows.md in Polish

* docs(website): new translation for windows.md in Portuguese

* docs(website): new translation for windows.md in Russian

* docs(website): new translation for windows.md in Serbian (Cyrillic)

* docs(website): new translation for windows.md in Chinese Simplified

* docs(website): new translation for windows.md in Chinese Traditional

* docs(website): new translation for windows.md in Vietnamese

* docs(website): new translation for best-practices.md in French

* docs(website): new translation for amazon.md in Spanish

* docs(website): new translation for iis-server.md in Vietnamese

* docs(website): new translation for install.md in Romanian

* docs(website): new translation for iis-server.md in Yoruba

* docs(website): new translation for iis-server.md in Tajik

* docs(website): new translation for iis-server.md in Serbian (Latin)

* docs(website): new translation for iis-server.md in Filipino

* docs(website): new translation for iis-server.md in Hindi

* docs(website): new translation for iis-server.md in Portuguese, Brazilian

* docs(website): new translation for iis-server.md in Galician

* docs(website): new translation for iis-server.md in Chinese Traditional

* docs(website): new translation for iis-server.md in Chinese Simplified

* docs(website): new translation for iis-server.md in Serbian (Cyrillic)

* docs(website): new translation for iis-server.md in Russian

* docs(website): new translation for iis-server.md in Portuguese

* docs(website): new translation for iis-server.md in Polish

* docs(website): new translation for iis-server.md in Korean

* docs(website): new translation for iis-server.md in Japanese

* docs(website): new translation for iis-server.md in Italian

* docs(website): new translation for iis-server.md in German

* docs(website): new translation for iis-server.md in Czech

* docs(website): new translation for iis-server.md in Arabic

* docs(website): new translation for iis-server.md in Spanish

* docs(website): new translation for iis-server.md in French

* docs(website): new translation for iis-server.md in Romanian

* docs(website): new translation for e2e.md in Czech

* docs(website): new translation for e2e.md in Hindi

* docs(website): new translation for e2e.md in Portuguese, Brazilian

* docs(website): new translation for e2e.md in Galician

* docs(website): new translation for e2e.md in Vietnamese

* docs(website): new translation for e2e.md in Chinese Traditional

* docs(website): new translation for e2e.md in Chinese Simplified

* docs(website): new translation for e2e.md in Serbian (Cyrillic)

* docs(website): new translation for e2e.md in Russian

* docs(website): new translation for e2e.md in Portuguese

* docs(website): new translation for e2e.md in Polish

* docs(website): new translation for e2e.md in Korean

* docs(website): new translation for e2e.md in Japanese

* docs(website): new translation for e2e.md in Italian

* docs(website): new translation for e2e.md in German

* docs(website): new translation for e2e.md in Arabic

* docs(website): new translation for e2e.md in Serbian (Latin)

* docs(website): new translation for e2e.md in Spanish

* docs(website): new translation for e2e.md in French

* docs(website): new translation for e2e.md in Romanian

* docs(website): new translation for docker.md in Yoruba

* docs(website): new translation for docker.md in Tajik

* docs(website): new translation for docker.md in Serbian (Latin)

* docs(website): new translation for docker.md in Filipino

* docs(website): new translation for docker.md in Hindi

* docs(website): new translation for docker.md in Portuguese, Brazilian

* docs(website): new translation for docker.md in Galician

* docs(website): new translation for docker.md in Vietnamese

* docs(website): new translation for docker.md in Chinese Traditional

* docs(website): new translation for docker.md in Chinese Simplified

* docs(website): new translation for docker.md in Serbian (Cyrillic)

* docs(website): new translation for e2e.md in Filipino

* docs(website): new translation for e2e.md in Tajik

* docs(website): new translation for github-actions.md in Galician

* docs(website): new translation for github-actions.md in Yoruba

* docs(website): new translation for github-actions.md in Tajik

* docs(website): new translation for github-actions.md in Serbian (Latin)

* docs(website): new translation for github-actions.md in Filipino

* docs(website): new translation for github-actions.md in Hindi

* docs(website): new translation for github-actions.md in Portuguese, Brazilian

* docs(website): new translation for github-actions.md in Vietnamese

* docs(website): new translation for e2e.md in Yoruba

* docs(website): new translation for github-actions.md in Italian

* docs(website): new translation for github-actions.md in Romanian

* docs(website): new translation for github-actions.md in French

* docs(website): new translation for github-actions.md in Spanish

* docs(website): new translation for github-actions.md in Arabic

* docs(website): new translation for github-actions.md in Czech
  • Loading branch information
juanpicado authored Jul 11, 2021
1 parent 0165ac1 commit 625f529
Show file tree
Hide file tree
Showing 74 changed files with 1,108 additions and 853 deletions.
10 changes: 8 additions & 2 deletions website/translated_docs/ar/e2e.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ title: "End to End testing"
Some projects organize packages in multi-packages repositories or [monorepos](https://github.com/babel/babel/blob/master/doc/design/monorepo.md). E2E testing is a topic that usually is only relevant for User Interfaces, but from a Node.js perspective, **publishing packages also need to be tested**.

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Solution: a local npm registry. <a href="https://t.co/kvcyVANVSK">https://t.co/kvcyVANVSK</a></p>&mdash; Dan Abramov (@dan_abramov) <a href="https://twitter.com/dan_abramov/status/951427674844680192?ref_src=twsrc%5Etfw">11 de enero de 2018</a></blockquote>

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

Such approach has been really hard to achieve considering:
Expand Down Expand Up @@ -45,6 +44,7 @@ sh -c "npm-auth-to-token -u test -p test -e [email protected] -r $local_registry"
sh -c "npm --registry $local_registry publish"
```


## Who is using it for E2E?

* [create-react-app](https://github.com/facebook/create-react-app/blob/master/CONTRIBUTING.md#contributing-to-e2e-end-to-end-tests) *(+73.5k ⭐️)*
Expand All @@ -59,4 +59,10 @@ sh -c "npm --registry $local_registry publish"
* [Mozilla Neutrino](https://github.com/neutrinojs/neutrino) *(+3k ⭐️)*
* [Embark](https://embark.status.im/) *(+3k ⭐️)*
* [Hyperledger Composer](https://github.com/hyperledger/composer) *(+1.6k ⭐️)*
* [Wix Yoshi](https://github.com/wix/yoshi)
* [Wix Yoshi](https://github.com/wix/yoshi)






2 changes: 1 addition & 1 deletion website/translated_docs/ar/github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ The action will perform a `npm publish` and if the publishing finishes successfu

Within the image uses `verdaccio-auth-memory` and `verdaccio-memory` plugins to handle authentification and storage to speed up the process.

If you want to know more about the action, [visit our repository](https://github.com/verdaccio/github-actions) dedicated for GitHub Actions.
If you want to know more about the action, [visit our repository](https://github.com/verdaccio/github-actions) dedicated for GitHub Actions.
54 changes: 28 additions & 26 deletions website/translated_docs/ar/iis-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,32 @@ title: "Installing on IIS server"

These instructions were written for Windows Server 2016, IIS 10, [Node.js 10.15.0](https://nodejs.org/), [iisnode 0.2.26](https://github.com/Azure/iisnode) and [verdaccio 3.11.0](https://github.com/verdaccio/verdaccio).

- Install IIS Install [iisnode](https://github.com/Azure/iisnode). Make sure you install prerequisites (Url Rewrite Module & node) as explained in the instructions for iisnode.
- Create a new folder in Explorer where you want to host verdaccio. For example `C:\verdaccio`. Save [package.json](#packagejson), [start.js](#startjs) and [web.config](#webconfig) in this folder.
- Create a new site in Internet Information Services Manager. You can name it whatever you want. I'll call it verdaccio in these [instructions](http://www.iis.net/learn/manage/configuring-security/application-pool-identities). Specify the path to where you saved all files and a port number.
- Go back to Explorer and give the user that runs the application pool modify rights to the folder you just created. If you've named the new site verdaccio and did not change the app pool, it's running under an ApplicationPoolIdentity and you should give the user IIS AppPool\verdaccio modify rights see instructions if you need help. (You can restrict access later if you want so that it only has modify rights on the iisnode and verdaccio\storage)
- Start a command prompt and execute the commands below to download verdaccio:
* Install IIS Install [iisnode](https://github.com/Azure/iisnode). Make sure you install prerequisites (Url Rewrite Module & node) as explained in the instructions for iisnode.
* Create a new folder in Explorer where you want to host verdaccio. For example `C:\verdaccio`. Save [package.json](#packagejson), [start.js](#startjs) and [web.config](#webconfig) in this folder.
* Create a new site in Internet Information Services Manager. You can name it whatever you want. I'll call it verdaccio in these [instructions](http://www.iis.net/learn/manage/configuring-security/application-pool-identities). Specify the path to where you saved all files and a port number.
* Go back to Explorer and give the user that runs the application pool modify rights to the folder you just created. If you've named the new site verdaccio and did not change the app pool, it's running under an ApplicationPoolIdentity and you should give the user IIS AppPool\verdaccio modify rights see instructions if you need help. (You can restrict access later if you want so that it only has modify rights on the iisnode and verdaccio\storage)
* Start a command prompt and execute the commands below to download verdaccio:

cd c:\verdaccio
npm install

````
cd c:\verdaccio
npm install
````

- Make sure you have an inbound rule accepting TCP traffic to the port in Windows Firewall
- Thats it! Now you can navigate to the host and port that you specified
* Make sure you have an inbound rule accepting TCP traffic to the port in Windows Firewall
* Thats it! Now you can navigate to the host and port that you specified

I wanted the `verdaccio` site to be the default site in IIS so I did the following:

- I stopped the "Default Web Site" and only start the site "verdaccio" site in IIS
- I set the bindings to "http", ip address "All Unassigned" on port 80, ok any warning or prompts
* I stopped the "Default Web Site" and only start the site "verdaccio" site in IIS
* I set the bindings to "http", ip address "All Unassigned" on port 80, ok any warning or prompts

These instructions are based on [Host Sinopia in IIS on Windows](https://gist.github.com/HCanber/4dd8409f79991a09ac75). I had to tweak my web config as per below but you may find the original from the for mentioned link works better

A default configuration file will be created `c:\verdaccio\verdaccio\config.yaml`

### package.json

```json
````json
{
"name": "iisnode-verdaccio",
"version": "1.0.0",
Expand All @@ -39,25 +40,25 @@ A default configuration file will be created `c:\verdaccio\verdaccio\config.yaml
"verdaccio": "^3.11.0"
}
}
```
````

### start.js

```bash
````bash
process.argv.push('-l', 'unix:' + process.env.PORT, '-c', './config.yaml');
require('./node_modules/verdaccio/build/lib/cli.js');
```
````

### Alternate start.js for Verdaccio versions < v3.0

```bash
````bash
process.argv.push('-l', 'unix:' + process.env.PORT);
require('./node_modules/verdaccio/src/lib/cli.js');
```
````

### web.config

```xml
````xml
<configuration>
<system.webServer>
<modules>
Expand Down Expand Up @@ -104,14 +105,15 @@ require('./node_modules/verdaccio/src/lib/cli.js');

</system.webServer>
</configuration>
```
````

### Troubleshooting

- **The web interface does not load when hosted with https as it tries to download scripts over http.** Make sure that you have enabled `X-Forwarded-Proto` in IISNode using `enableXFF`. See [the related issue](https://github.com/verdaccio/verdaccio/issues/2003).
````
<configuration>
<system.webServer>
<iisnode enableXFF="true" />
</system.webServer>
</configuration>
````

<configuration>
<system.webServer>
<iisnode enableXFF="true" />
</system.webServer>
</configuration>
10 changes: 8 additions & 2 deletions website/translated_docs/cs/e2e.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ title: "End to End testing"
Some projects organize packages in multi-packages repositories or [monorepos](https://github.com/babel/babel/blob/master/doc/design/monorepo.md). E2E testing is a topic that usually is only relevant for User Interfaces, but from a Node.js perspective, **publishing packages also need to be tested**.

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Solution: a local npm registry. <a href="https://t.co/kvcyVANVSK">https://t.co/kvcyVANVSK</a></p>&mdash; Dan Abramov (@dan_abramov) <a href="https://twitter.com/dan_abramov/status/951427674844680192?ref_src=twsrc%5Etfw">11 de enero de 2018</a></blockquote>

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

Such approach has been really hard to achieve considering:
Expand Down Expand Up @@ -45,6 +44,7 @@ sh -c "npm-auth-to-token -u test -p test -e [email protected] -r $local_registry"
sh -c "npm --registry $local_registry publish"
```


## Who is using it for E2E?

* [create-react-app](https://github.com/facebook/create-react-app/blob/master/CONTRIBUTING.md#contributing-to-e2e-end-to-end-tests) *(+73.5k ⭐️)*
Expand All @@ -59,4 +59,10 @@ sh -c "npm --registry $local_registry publish"
* [Mozilla Neutrino](https://github.com/neutrinojs/neutrino) *(+3k ⭐️)*
* [Embark](https://embark.status.im/) *(+3k ⭐️)*
* [Hyperledger Composer](https://github.com/hyperledger/composer) *(+1.6k ⭐️)*
* [Wix Yoshi](https://github.com/wix/yoshi)
* [Wix Yoshi](https://github.com/wix/yoshi)






2 changes: 1 addition & 1 deletion website/translated_docs/cs/github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ The action will perform a `npm publish` and if the publishing finishes successfu

Within the image uses `verdaccio-auth-memory` and `verdaccio-memory` plugins to handle authentification and storage to speed up the process.

If you want to know more about the action, [visit our repository](https://github.com/verdaccio/github-actions) dedicated for GitHub Actions.
If you want to know more about the action, [visit our repository](https://github.com/verdaccio/github-actions) dedicated for GitHub Actions.
54 changes: 28 additions & 26 deletions website/translated_docs/cs/iis-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,32 @@ title: "Instalace na IIS serveru"

These instructions were written for Windows Server 2016, IIS 10, [Node.js 10.15.0](https://nodejs.org/), [iisnode 0.2.26](https://github.com/Azure/iisnode) and [verdaccio 3.11.0](https://github.com/verdaccio/verdaccio).

- Install IIS Install [iisnode](https://github.com/Azure/iisnode). Make sure you install prerequisites (Url Rewrite Module & node) as explained in the instructions for iisnode.
- Create a new folder in Explorer where you want to host verdaccio. For example `C:\verdaccio`. Save [package.json](#packagejson), [start.js](#startjs) and [web.config](#webconfig) in this folder.
- Create a new site in Internet Information Services Manager. You can name it whatever you want. I'll call it verdaccio in these [instructions](http://www.iis.net/learn/manage/configuring-security/application-pool-identities). Specify the path to where you saved all files and a port number.
- Go back to Explorer and give the user that runs the application pool modify rights to the folder you just created. If you've named the new site verdaccio and did not change the app pool, it's running under an ApplicationPoolIdentity and you should give the user IIS AppPool\verdaccio modify rights see instructions if you need help. (You can restrict access later if you want so that it only has modify rights on the iisnode and verdaccio\storage)
- Start a command prompt and execute the commands below to download verdaccio:
* Install IIS Install [iisnode](https://github.com/Azure/iisnode). Make sure you install prerequisites (Url Rewrite Module & node) as explained in the instructions for iisnode.
* Create a new folder in Explorer where you want to host verdaccio. For example `C:\verdaccio`. Save [package.json](#packagejson), [start.js](#startjs) and [web.config](#webconfig) in this folder.
* Create a new site in Internet Information Services Manager. You can name it whatever you want. I'll call it verdaccio in these [instructions](http://www.iis.net/learn/manage/configuring-security/application-pool-identities). Specify the path to where you saved all files and a port number.
* Go back to Explorer and give the user that runs the application pool modify rights to the folder you just created. If you've named the new site verdaccio and did not change the app pool, it's running under an ApplicationPoolIdentity and you should give the user IIS AppPool\verdaccio modify rights see instructions if you need help. (You can restrict access later if you want so that it only has modify rights on the iisnode and verdaccio\storage)
* Start a command prompt and execute the commands below to download verdaccio:

cd c:\verdaccio
npm install

````
cd c:\verdaccio
npm install
````

- Make sure you have an inbound rule accepting TCP traffic to the port in Windows Firewall
- Thats it! Now you can navigate to the host and port that you specified
* Make sure you have an inbound rule accepting TCP traffic to the port in Windows Firewall
* Thats it! Now you can navigate to the host and port that you specified

I wanted the `verdaccio` site to be the default site in IIS so I did the following:

- I stopped the "Default Web Site" and only start the site "verdaccio" site in IIS
- I set the bindings to "http", ip address "All Unassigned" on port 80, ok any warning or prompts
* I stopped the "Default Web Site" and only start the site "verdaccio" site in IIS
* I set the bindings to "http", ip address "All Unassigned" on port 80, ok any warning or prompts

These instructions are based on [Host Sinopia in IIS on Windows](https://gist.github.com/HCanber/4dd8409f79991a09ac75). I had to tweak my web config as per below but you may find the original from the for mentioned link works better

A default configuration file will be created `c:\verdaccio\verdaccio\config.yaml`

### package.json

```json
````json
{
"name": "iisnode-verdaccio",
"version": "1.0.0",
Expand All @@ -39,25 +40,25 @@ A default configuration file will be created `c:\verdaccio\verdaccio\config.yaml
"verdaccio": "^3.11.0"
}
}
```
````

### start.js

```bash
````bash
process.argv.push('-l', 'unix:' + process.env.PORT, '-c', './config.yaml');
require('./node_modules/verdaccio/build/lib/cli.js');
```
````

### Alternate start.js for Verdaccio versions < v3.0

```bash
````bash
process.argv.push('-l', 'unix:' + process.env.PORT);
require('./node_modules/verdaccio/src/lib/cli.js');
```
````

### web.config

```xml
````xml
<configuration>
<system.webServer>
<modules>
Expand Down Expand Up @@ -104,14 +105,15 @@ require('./node_modules/verdaccio/src/lib/cli.js');

</system.webServer>
</configuration>
```
````

### Troubleshooting

- **The web interface does not load when hosted with https as it tries to download scripts over http.** Make sure that you have enabled `X-Forwarded-Proto` in IISNode using `enableXFF`. See [the related issue](https://github.com/verdaccio/verdaccio/issues/2003).
````
<configuration>
<system.webServer>
<iisnode enableXFF="true" />
</system.webServer>
</configuration>
````

<configuration>
<system.webServer>
<iisnode enableXFF="true" />
</system.webServer>
</configuration>
10 changes: 8 additions & 2 deletions website/translated_docs/de/e2e.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ title: "End to End testing"
Some projects organize packages in multi-packages repositories or [monorepos](https://github.com/babel/babel/blob/master/doc/design/monorepo.md). E2E testing is a topic that usually is only relevant for User Interfaces, but from a Node.js perspective, **publishing packages also need to be tested**.

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Solution: a local npm registry. <a href="https://t.co/kvcyVANVSK">https://t.co/kvcyVANVSK</a></p>&mdash; Dan Abramov (@dan_abramov) <a href="https://twitter.com/dan_abramov/status/951427674844680192?ref_src=twsrc%5Etfw">11 de enero de 2018</a></blockquote>

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

Such approach has been really hard to achieve considering:
Expand Down Expand Up @@ -45,6 +44,7 @@ sh -c "npm-auth-to-token -u test -p test -e [email protected] -r $local_registry"
sh -c "npm --registry $local_registry publish"
```


## Who is using it for E2E?

* [create-react-app](https://github.com/facebook/create-react-app/blob/master/CONTRIBUTING.md#contributing-to-e2e-end-to-end-tests) *(+73.5k ⭐️)*
Expand All @@ -59,4 +59,10 @@ sh -c "npm --registry $local_registry publish"
* [Mozilla Neutrino](https://github.com/neutrinojs/neutrino) *(+3k ⭐️)*
* [Embark](https://embark.status.im/) *(+3k ⭐️)*
* [Hyperledger Composer](https://github.com/hyperledger/composer) *(+1.6k ⭐️)*
* [Wix Yoshi](https://github.com/wix/yoshi)
* [Wix Yoshi](https://github.com/wix/yoshi)






Loading

0 comments on commit 625f529

Please sign in to comment.