You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::
38
+
39
+
$ mkvirtualenv prestoadmin
40
+
$ cd prestoadmin/
41
+
$ python setup.py develop
42
+
43
+
4. Create a branch for local development::
44
+
45
+
$ git checkout -b name-of-your-bugfix-or-feature
46
+
47
+
Now you can make your changes locally.
48
+
49
+
5. When you're done making changes, check that your changes pass `make clean lint test`, which runs flake8 and the unit tests (which test both Python 2.6 and 2.7).
50
+
To run the product tests tests (`make test-all`), you need docker installed. You may also need to run `pip install wheel` in your virtualenv. To install and start docker use::
51
+
52
+
$ wget -qO- https://get.docker.com/ | sh
53
+
54
+
# Add current user to Docker group to run without sudo
55
+
$ sudo gpasswd -a ${USER} docker
56
+
$ sudo service docker restart
57
+
58
+
31
59
### Building the installer
32
60
33
61
The two tasks used to build the presto-admin installer are `dist` and
0 commit comments