Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

LB-123: Setup Docker for MessyBrainz #18

Merged
merged 5 commits into from May 31, 2017

Conversation

paramsingh
Copy link
Collaborator

Almost all of the stuff taken from LB. Had to fix some tests as well.

Add a docker-compose.yml, a Dockerfile and change some stuff in
manage.py so that db is set up inside docker
Also remove an unused import which was causing tests to fail
and add pytest to requirements
Copy link
Member

@mayhem mayhem left a comment

Choose a reason for hiding this comment

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

Looks good to me. Unless Alastair has comments, lets merge this and then do LB-160.

@paramsingh
Copy link
Collaborator Author

I have the LB-160 patch ready to send as soon as this gets merged.

@alastair alastair self-assigned this May 29, 2017
Copy link
Collaborator

@alastair alastair left a comment

Choose a reason for hiding this comment

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

Nice 🌵

@@ -0,0 +1,34 @@
FROM python:2.7.12
Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess the idea is that we switch this to python3 once this PR is merged?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yep.

README.md Outdated
Everything should be good to go now. You should be able to access the webserver at `http://localhost:8080`.

Also, in order to run the tests, just use the command: `./test.sh`.

### The Usual Way

Full installation instructions are available in [INSTALL.md](https://github.com/metabrainz/messybrainz-server/blob/master/INSTALL.md) file.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need to have normal installation instructions? I'm happy to force everyone to use Docker

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not really, I'll remove it.

@@ -0,0 +1,130 @@
#!/bin/bash
Copy link
Collaborator

Choose a reason for hiding this comment

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

We're now sharing these scripts among multiple projects. I wonder if it's a good idea that we make a separate project for them and git submodule them in for use by each project. Then our test.sh can just import this file and set a few variables.

Docker is the only supported install method now.
@mayhem mayhem merged commit 1972b54 into metabrainz:master May 31, 2017
@paramsingh paramsingh deleted the docker-setup branch May 31, 2017 09:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants