Browse Source

chore: update cypress local setup in readme

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/714/head
Pranav C 3 years ago
parent
commit
dadf114ab5
  1. 2
      README.md
  2. 13
      scripts/markdown/readme/languages/chinese.md
  3. 11
      scripts/markdown/readme/languages/dutch.md
  4. 10
      scripts/markdown/readme/languages/french.md
  5. 10
      scripts/markdown/readme/languages/german.md
  6. 10
      scripts/markdown/readme/languages/indonesian.md
  7. 8
      scripts/markdown/readme/languages/italian.md
  8. 10
      scripts/markdown/readme/languages/japanese.md
  9. 11
      scripts/markdown/readme/languages/korean.md
  10. 10
      scripts/markdown/readme/languages/portuguese.md
  11. 11
      scripts/markdown/readme/languages/russian.md
  12. 10
      scripts/markdown/readme/languages/spanish.md

2
README.md

@ -241,7 +241,7 @@ npm run start:api
# Run frontend web UI using following command # Run frontend web UI using following command
npm run start:web npm run start:web
# wait until both 3000 and 8080 porta are avalable # wait until both 3000 and 8080 ports are available
# and run cypress test using following command # and run cypress test using following command
npm run cypress:run npm run cypress:run

13
scripts/markdown/readme/languages/chinese.md

@ -223,14 +223,21 @@ npm run dev
# 安装开发依赖(cypress) # 安装开发依赖(cypress)
npm install npm install
# 使用 docker compose 运行所需的服务 # 使用 docker compose 使用所需的数据库运行 mysql 数据库
docker-compose -f ./docker-compose-cypress.yml up docker-compose -f ./scripts/docker-compose-cypress.yml up
# 使用以下命令运行后端 api
npm run start:api
# 使用以下命令运行前端 Web UI
npm run start:web
# 等到 3000 和 8080 端口都可用时,使用以下命令运行Cypress测试 # 等到 3000 和 8080 端口都可用时,使用以下命令运行Cypress测试
npm run cypress:run npm run cypress:run
# 或运行以下命令在图形用户界面上运行它 # or run following command to run it with GUI
npm run cypress:open npm run cypress:open
``` ```
# 贡献 # 贡献

11
scripts/markdown/readme/languages/dutch.md

@ -219,14 +219,19 @@ Changes made to code automatically restart.
```shell ```shell
# install dependencies(cypress) # install dependencies(cypress)
# install dependencies(cypress)
npm install npm install
# run required services by using docker compose # run mysql database with required database using docker compose
docker-compose -f ./docker-compose-cypress.yml up docker-compose -f ./scripts/docker-compose-cypress.yml up
# Run backend api using following command
npm run start:api
# Run frontend web UI using following command
npm run start:web
# wait until both 3000 and 8080 porta are avalable # wait until both 3000 and 8080 ports are available
# and run cypress test using following command # and run cypress test using following command
npm run cypress:run npm run cypress:run

10
scripts/markdown/readme/languages/french.md

@ -215,12 +215,16 @@ Changes made to code automatically restart.
# install dependencies(cypress) # install dependencies(cypress)
npm install npm install
# run required services by using docker compose # run mysql database with required database using docker compose
docker-compose -f ./docker-compose-cypress.yml up docker-compose -f ./scripts/docker-compose-cypress.yml up
# Run backend api using following command
npm run start:api
# Run frontend web UI using following command
npm run start:web
# wait until both 3000 and 8080 porta are avalable # wait until both 3000 and 8080 ports are available
# and run cypress test using following command # and run cypress test using following command
npm run cypress:run npm run cypress:run

10
scripts/markdown/readme/languages/german.md

@ -218,12 +218,16 @@ Changes made to code automatically restart.
# install dependencies(cypress) # install dependencies(cypress)
npm install npm install
# run required services by using docker compose # run mysql database with required database using docker compose
docker-compose -f ./docker-compose-cypress.yml up docker-compose -f ./scripts/docker-compose-cypress.yml up
# Run backend api using following command
npm run start:api
# Run frontend web UI using following command
npm run start:web
# wait until both 3000 and 8080 porta are avalable # wait until both 3000 and 8080 ports are available
# and run cypress test using following command # and run cypress test using following command
npm run cypress:run npm run cypress:run

10
scripts/markdown/readme/languages/indonesian.md

@ -221,12 +221,16 @@ Perubahan yang dibuat pada kode akan dimulai ulang secara otomatis.
# install dependencies(cypress) # install dependencies(cypress)
npm install npm install
# run required services by using docker compose # run mysql database with required database using docker compose
docker-compose -f ./docker-compose-cypress.yml up docker-compose -f ./scripts/docker-compose-cypress.yml up
# Run backend api using following command
npm run start:api
# Run frontend web UI using following command
npm run start:web
# wait until both 3000 and 8080 porta are avalable # wait until both 3000 and 8080 ports are available
# and run cypress test using following command # and run cypress test using following command
npm run cypress:run npm run cypress:run

8
scripts/markdown/readme/languages/italian.md

@ -220,10 +220,14 @@ Modifiche al codice generano un riavvio automatico.
# installa le dipendenze (Cypress) # installa le dipendenze (Cypress)
npm install npm install
# esegui i servizi richiesti con Docker Compose # eseguire il database mysql con il database richiesto utilizzando docker compose
docker-compose -f ./docker-compose-cypress.yml up docker-compose -f ./scripts/docker-compose-cypress.yml up
# Esegui l'API di backend usando il seguente comando
npm run start:api
# Esegui l'interfaccia utente web frontend usando il seguente comando
npm run start:web
# attendi la disponibilità delle porte 3000 e 8080 # attendi la disponibilità delle porte 3000 e 8080
# ed esegui Cypress con il seguente comando: # ed esegui Cypress con il seguente comando:

10
scripts/markdown/readme/languages/japanese.md

@ -218,12 +218,16 @@ Changes made to code automatically restart.
# install dependencies(cypress) # install dependencies(cypress)
npm install npm install
# run required services by using docker compose # run mysql database with required database using docker compose
docker-compose -f ./docker-compose-cypress.yml up docker-compose -f ./scripts/docker-compose-cypress.yml up
# Run backend api using following command
npm run start:api
# Run frontend web UI using following command
npm run start:web
# wait until both 3000 and 8080 porta are avalable # wait until both 3000 and 8080 ports are available
# and run cypress test using following command # and run cypress test using following command
npm run cypress:run npm run cypress:run

11
scripts/markdown/readme/languages/korean.md

@ -218,8 +218,15 @@ npm run dev
# 의존성(cypress) 설치 # 의존성(cypress) 설치
npm install npm install
# docker compose로 필요한 서비스 실행 # docker compose를 사용하여 필요한 데이터베이스로 mysql 데이터베이스 실행
docker-compose -f ./docker-compose-cypress.yml up docker-compose -f ./scripts/docker-compose-cypress.yml up
# 다음 명령을 사용하여 백엔드 API 실행
npm run start:api
# 다음 명령을 사용하여 프론트엔드 웹 UI 실행
npm run start:web
# 3000 포트와 8080 포트가 모두 열릴 때까지 대기 # 3000 포트와 8080 포트가 모두 열릴 때까지 대기
# 이후 다음 명령으로 cypress 실행 # 이후 다음 명령으로 cypress 실행

10
scripts/markdown/readme/languages/portuguese.md

@ -215,12 +215,16 @@ Changes made to code automatically restart.
# install dependencies(cypress) # install dependencies(cypress)
npm install npm install
# run required services by using docker compose # run mysql database with required database using docker compose
docker-compose -f ./docker-compose-cypress.yml up docker-compose -f ./scripts/docker-compose-cypress.yml up
# Run backend api using following command
npm run start:api
# Run frontend web UI using following command
npm run start:web
# wait until both 3000 and 8080 porta are avalable # wait until both 3000 and 8080 ports are available
# and run cypress test using following command # and run cypress test using following command
npm run cypress:run npm run cypress:run

11
scripts/markdown/readme/languages/russian.md

@ -223,10 +223,17 @@ npm run dev
# установить зависимости (cypress) # установить зависимости (cypress)
npm install npm install
# запустить необходимые службы с помощью docker compose # install dependencies(cypress)
docker-compose -f ./docker-compose-cypress.yml up npm install
# запустить базу данных mysql с необходимой базой данных, используя docker compose
docker-compose -f ./scripts/docker-compose-cypress.yml up
# Запустите backend api, используя следующую команду
npm run start:api
# Запустите интерфейсный веб-интерфейс, используя следующую команду
npm run start:web
# подождите, пока станут доступны порты 3000 и 8080 # подождите, пока станут доступны порты 3000 и 8080
# и запустите тест cypress, используя следующую команду # и запустите тест cypress, используя следующую команду

10
scripts/markdown/readme/languages/spanish.md

@ -219,12 +219,16 @@ Changes made to code automatically restart.
# install dependencies(cypress) # install dependencies(cypress)
npm install npm install
# run required services by using docker compose # run mysql database with required database using docker compose
docker-compose -f ./docker-compose-cypress.yml up docker-compose -f ./scripts/docker-compose-cypress.yml up
# Run backend api using following command
npm run start:api
# Run frontend web UI using following command
npm run start:web
# wait until both 3000 and 8080 porta are avalable # wait until both 3000 and 8080 ports are available
# and run cypress test using following command # and run cypress test using following command
npm run cypress:run npm run cypress:run

Loading…
Cancel
Save