forked from NJIT-WIS/mywebclass-simulation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDeveloper.docs
More file actions
27 lines (16 loc) · 1.34 KB
/
Developer.docs
File metadata and controls
27 lines (16 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Prerequisites
Please ensure that you have the required software installed on your computer before proceeding:
GitHub: a code hosting platform for version control and collaboration
Git: a version control system
PyCharm: an integrated development environment (IDE) for writing and running Python code
Node.js: a JavaScript runtime that includes npm, a package manager for installing dependencies and running Playwright Test.
Installation
To install and run the MyWebClass-simulation project, please follow these steps:
Clone the project repository from GitHub using the SSH link provided.
Open PyCharm and create a new project from the cloned repository by clicking on "Get from VCS", pasting the SSH link, and cloning the repository.
Install npm by opening a terminal window in PyCharm (View > Tool Windows > Terminal) and typing the following command: npm install
Start npm by typing the following command: npm start.
This will start the local server and open the project in your default browser at http://localhost:3000/.
Install Playwright by typing the following command: npx install playwright.
To record a Playwright test, start a Chromium window by typing the following command: npx playwright codegen localhost:3000.
By following these steps, you should be able to successfully install and run the MyWebClass-simulation project on your local machine.