![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Contur is an open-source command line application simplifying your local web development environment. It hosts your site using Docker containers so you don't have to install Apache, MySQL, PHP and PHP extensions on your own machine. Contur is written in Ruby and uses the Docker HTTP API.
gem install contur
.contur.yml
file in the root of your repository$ contur start
to build the image, launch the MySQL container and the Contur container$ contur restart
to restart the Contur containerWhen you run the start
command the following will happen:
localhost:8088
When you run the restart
command the following will happen:
The following happens in the container when you start it:
env
section)before
sectionThe build file consists of sections: version
, use
, before
, env
.
The minimal YAML file for contur to work properly:
---
version: 1.0
Version of the build file. Currently this is the only required section.
Allowed values: 1.0
Example
---
version: 1.0
Specify the MySQL and PHP versions you want to use.
Current default PHP version: 5.6.25
At the moment specifying a PHP version is not working (to be implemented soon).
Default is the latest from Dockerhub
To connect:
Example
---
version: 1.0
use:
mysql: 5.6.20
Specify environment variables to use them in the before
script or in your site
Example
---
version: 1.0
env:
THE_ANSWER: 42
DOCTOR: Who
Run scrips before starting php-fpm.
Example
---
version: 1.0
before:
- composer install
---
version: 1.0
use:
mysql: 5.6.20
env:
YAML_DEFINED: envvar
ANOTHER_ENV_VAR: Contur
before:
- echo "Hello, $ANOTHER_ENV_VAR!<br />Generated at $(date)<br /> MySQL version $MYSQL_ENV_MYSQL_VERSION" > /www/index.php
$ contur help
Commands:
contur --version, -V # Current version
contur delete [-CIM] # Delete container, image or MySQL container(s)
contur help [COMMAND] # Describe available commands or one specific command
contur log # Get container log
contur restart # Restart contur container
contur start # Build and start everything
contur validate # Validate build definition file
Options:
-v, [--verbose], [--no-verbose]
-f, [--force]
After checking out the repo, run bin/setup
to install dependencies.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
If you can, please use the provided EditorConfig file!
List of Star Wars planets and moons
The gem is available as open source under the terms of the MIT License. See more in LICENSE.txt
FAQs
Unknown package
We found that contur demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.