Repository navigation
General Setup
cromanascend edited this page Mar 12, 2021
·
9 revisions
Welcome to the cypressAscend wiki!
Setup for cypress and real world application RWA
- Downloading and installing Node.js, NPM & Yarn
Download NPM
npm install -g npm
Download Yarn
npm install -g yarn
node -v
npm -v
yarn --version
- On your terminal (CMD), make a new folder on your preference location (i.e. C:\Documents\CypressProject)
C:\> cd Documents
C:\Documents> mkdir CypressProject
C:\Documents> cd cypressproject
- Clone the repository from github:
C:\Documents\CypressProject> git clone https://github.com/cypress-io/cypress-realworld-app.git
- For the following commands you need to enter to the new folder that was crated / Cloned
C:\Documents\CypressProject> cd cypress-realworld-app
- Install all the dependencies of the project
C:\Documents\CypressProject\cypress-realworld-app> yarn install
- Start the app on a localhost 3000 Note: leave this terminal open
C:\Documents\CypressProject\cypress-realworld-app> yarn start
- open a new terminal (CDM) to Start testing with cypress.
C:\> cd Documents\CypressProject\cypress-realworld-app
C:\Documents\CypressProject\cypress-realworld-app> yarn cypress:open
- Open your project folder on your IDE of preference to edit any part of the project.