pinry / docker-pinry

An easy way to get a Pinry instance up and running using Docker.
http://getpinry.com/
Other
55 stars 23 forks source link

Installing it on OSX with docker #23

Open Schizo opened 5 years ago

Schizo commented 5 years ago

I followed the Installation Guide for the docker version https://github.com/pinry/docker-pinry but my initial attempt failed.

I did:

git clone https://github.com/pinry/docker-pinry
cd docker-pinry
./bootstrap.sh

Resulted in:

No docker image found, building...
Sending build context to Docker daemon  193.5kB
Step 1/18 : FROM python:3.6-stretch
Get https://registry-1.docker.io/v2/library/python/manifests/3.6-stretch: unauthorized: incorrect username or password
==================================================================================
Note: Please copy this key and keep it in a secure place.
Then you should manually edit your pinry/local_settings.py
and replace SECRET_KEY with new secret-key if you had previously generated a
pinry/local_settings.py.
If no previous pinry/local_settings.py generated, you can have a look and edit it.
If you want to use docker-compose, just edit docker-compose.yml and use 'docker-compose up'
Unable to find image 'pinry/pinry:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/pinry/pinry/manifests/latest: unauthorized: incorrect username or password.
See 'docker run --help'.

Your secret-key is(also saved/overwritten your pinry/production_secret_key.txt):

==================================================================================
sed: 1: "./pinry/local_settings.py": invalid command code .
sed: 1: "./pinry/local_settings.py": invalid command code .

This doesn't look good, any ideas?

winkidney commented 5 years ago

Ops, It's a bug that occurs on BSD like command-line tools. I guess that the reason why it doesn't work is command-line arguments of sed on BSD like OS is different from it on linux.

May be fixed if I have time.

You could just replace the secret key on local_setting.py and run each line of the command in this script as a workaround.

Thanks for your feedback!

Feel free to contact us if you have any further problem.

winkidney commented 5 years ago

I will have on try on macOS and then give you feedback once I have time.