ezrpg-legacy / ezRPG-1.2.x

ezrpgproject.net
8 stars 7 forks source link

Vagrantfile for development #53

Open JakeBooher opened 8 years ago

JakeBooher commented 8 years ago

Just to keep everyone developing on the same platform I suggest we create a vagrant environment.

Ubuntu or CentOS PHP 5.6 Apache 2.2 MySQL 5.6 (or the MariaDB equivilent)

ferdis commented 8 years ago

A docker image would also be nice.

nachfuellbar commented 8 years ago

Good idea But on CentOS 7 PHP 5.6 would require either Software Collections or EPEL - which one would you use? Same for MySQL or MariaDB

In standard repos are PHP 5.5 Apache 2.4 MySQL 5.5

uaktags commented 8 years ago

@uitgewis it's not perfect, but https://gist.github.com/uaktags/0812515827f7ba2d953bddbb4bfdaaa2. You'll have to edit as need be as I've just been using it for testing my refactoring branch. If you have any edits for the dockerfile that you'd like to suggest, perhaps throw it up in the forums. We can definitely look at having a list of dockerfiles for later development/testing once we get things more stable. (PS it sets the root password for mysql to "ezRPG")

@nachfuellbar I typically go for EPEL. Maria vs MySQL won't really matter, but personally I go for MariaDB. You can get the repo striaght from them.

@JakeBooher any headway?

ferdis commented 8 years ago

@uaktags I would rather think of building the image from the git repo, i.e.COPY . /usr/src/ezrpg. But other than that, looks cool - thanks! 👍