Skip to content
OurSociety - Free Local Campaign Platform (BETA)
PHP JavaScript CSS HTML Gherkin Vue Other
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.phpstorm.meta.php
assets
bin
config
docker
docs
features
logs
phpdocker
spec/OurSociety
src
tests
tmp
webroot
.babelrc
.editorconfig
.env.default
.env.test.default
.gitattributes
.gitignore
.php_cs
README.md
behat.yml
composer.json
composer.lock
docker-compose.yml
package.json
phpspec.yml
phpunit.xml.dist
webpack.mix.js
yarn.lock

README.md

OurSociety.org

2017 MVP for OurSociety (Ron Rivers)

Table of Contents

  1. Development

Development

We use Docker to create a development environment that closely mimics production. The services are defined in docker-compose.yml and they can be controlled using the docker-compose CLI tool.

There is a Dockerfile for each service in the docker/ directory that declares how to build each image that the containers will be created from. All images can be (re-)built using the docker-compose build command.

To start all the services, run docker-compose up and open another terminal window. Alternatively, use docker-compose up -d to run them in the background, and attach to the log stream with docker-compose logs -f.

Finally, add the line 127.0.0.1 mysociety.test www.mysociety.test to your /etc/hosts file and visit http://mysociety.test in your browser.

You can’t perform that action at this time.