Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Ilios Development Setup #1748

Merged
merged 2 commits into from
Feb 10, 2017

Conversation

jrjohnson
Copy link
Member

I’ve removed our docker-compose setup in favor of running a mysql server in docker and using symfony’s built in web server to do the rest. This is significantly more reliable and much faster even though it isn’t nearly as pretty.

Fixes #1747

This isn't a good idea right now as docker doesn't sync files fast
enough to use it in development.
README.md Outdated
@@ -35,12 +35,38 @@ Email: info@iliosproject.org

# Development of Ilios

You can build a run a local version of Ilios easily using [docker](https://www.docker.com/).
There are convenient clients for Mac and Windows and instructions Linux.
The Ilios API is a PHP application which required a MySql server. The easiest way to get a working
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Ilios API is a PHP application which requires a MySQL server. The easiest way to get a working

README.md Outdated
You can build a run a local version of Ilios easily using [docker](https://www.docker.com/).
There are convenient clients for Mac and Windows and instructions Linux.
The Ilios API is a PHP application which required a MySql server. The easiest way to get a working
MySql database running is by using the ilios/mysql-demo [docker](https://www.docker.com/) image.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MySQL database server running is by using the ilios/mysql-demo docker image.

README.md Outdated
There are convenient clients for Mac and Windows and instructions Linux.
The Ilios API is a PHP application which required a MySql server. The easiest way to get a working
MySql database running is by using the ilios/mysql-demo [docker](https://www.docker.com/) image.
After installing docker you can start a demo database by running:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After installing Docker you can start a demo database by running the following command:

README.md Outdated
```

You will now be able to access ilios at http://localhost:8000
Now modify your `/app/config/parameters.yml` to connect to this database:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then, modify your /app/config/parameters.yml configuration file to connect to this database:

README.md Outdated
database_mysql_version: 5.7
```

You can test that your database is configured correctly by running:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can test that the database is configured correctly by running:

README.md Outdated
bin/console doctrine:schema:validate
```

Now you can start a PHP development webserver by running:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Start a PHP development webserver by running:

README.md Outdated
```


You will now be able to access Ilios at http://localhost:8000
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should now be able to access your newly-Dockerized instance of Ilios by visiting http://localhost:8000 in you browser.

This is a more reliable way to run and develop Ilios.
@thecoolestguy thecoolestguy merged commit 411d1a6 into ilios:master Feb 10, 2017
@jrjohnson jrjohnson deleted the 1747-dockeralignment branch February 10, 2017 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants