Name: vmmaster
Owner: 2GIS
Description: Automatic virtual machines manager for selenium-based testing
Created: 2015-02-26 04:53:56.0
Updated: 2018-02-20 05:18:37.0
Pushed: 2017-12-18 04:37:09.0
Size: 1318
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
install dependencies:
stall_dependencies.sh
pip install tox
-e base
create base config:
/config_template.py config.py
migrations and run:
/bin/python manage.py migrations
/bin/python manage.py runserver
image build:
er build --tag=<image_name>:<image_version> .
create enviroment variables file or put environment variables in docker run command
run migrations:
er run -it --rm --volume /var/run/docker.sock:/var/run/docker.sock --privileged --net=host <image_name>:<images_version> python manage.py migrations
run container:
er run -it --rm --volume /var/run/docker.sock:/var/run/docker.sock --privileged --net=host <image_name>:<images_version> python manage.py runserver
stall-hooks.sh
/bin/flake8 vmmaster/ tests/
-e unit-with-coverage
Open coverage/index.html in web browser.
More information