Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Commit fc7976b

Browse files
authored
Merge pull request #616 from dstricks/update-developer-readme
Update README-developers
2 parents 73ed1be + 50859d8 commit fc7976b

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

README-developers.md

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,42 @@
11
# Eel Developers
22

3-
## Setting up a development environment
3+
## Setting up your environment
44

55
In order to start developing with Eel you'll need to checkout the code, set up a development and testing environment, and check that everything is in order.
66

7-
Clone the repository:
7+
### Clone the repository
88
```bash
9-
git clone [email protected]:samuelhwilliams/Eel.git
9+
git clone [email protected]:python-eel/Eel.git
1010
```
1111

12-
Create a dev virtual environment. Your process for doing this may vary, but might look something like this (assuming you have `venv` in a global `.gitignore` file):
12+
### (Recommended) Create a virtual environment
13+
It's recommended that you use virtual environments for this project. Your process for setting up a virutal environment will vary depending on OS and tool of choice, but might look something like this:
1314

1415
```bash
1516
python3 -m venv venv
1617
source venv/bin/activate
1718
```
1819

19-
We support Python 3.6+ so developers should ideally run their tests against the latest minor version of each major version we support from there. Tox is configured to run tests against each major version we support. In order to run tox fully, you will need to install multiple versions of Python. See the pinned minor versions in `.python-version`.
20+
**Note**: `venv` is listed in the `.gitignore` file so it's the recommended virtual environment name
21+
2022

21-
## Running tests
23+
### Install project requirements
24+
25+
```bash
26+
pip3 install -r requirements.txt # eel's 'prod' requirements
27+
pip3 install -r requirements-test.txt # pytest and selenium
28+
pip3 install -r requirements-meta.txt # tox
29+
```
30+
31+
### (Recommended) Run Automated Tests
32+
Tox is configured to run tests against each major version we support (3.6+). In order to run Tox as configured, you will need to install multiple versions of Python. See the pinned minor versions in `.python-version` for recommendations.
33+
34+
#### Tox Setup
35+
Our Tox configuration requires [Chrome](https://www.google.com/chrome) and [ChromeDriver](https://chromedriver.chromium.org/home). See each of those respective project pages for more information on setting each up.
36+
37+
**Note**: Pay attention to the version of Chrome that is installed on your OS because you need to select the compatible ChromeDriver version.
38+
39+
#### Running Tests
2240

2341
To test Eel against a specific version of Python you have installed, e.g. Python 3.6 in this case, run:
2442

0 commit comments

Comments
 (0)