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

Doc suggestion - Docker run #356

Open
jfftonsic opened this issue Mar 7, 2022 · 2 comments
Open

Doc suggestion - Docker run #356

jfftonsic opened this issue Mar 7, 2022 · 2 comments

Comments

@jfftonsic
Copy link

Hi, great project! I just wanted to share a quick-and-dirty docker run one liner if anyone feel a docker container is useful there as I did.
You may close this issue without changing anything if you want.
I didn't know where else to share this.
Cheers guys

# Access the working directory that you have the markdown files
# change what you require on the command below, then run it
docker run -it --name python-grip --rm \
    -p 6419:6419 \
    --env FILE=README.md \
    --env DEBUG=True \
    --env DEBUG_GRIP=True \
    --env HOST=0.0.0.0 \
    -v "$(pwd)":/workspace \
    python bash -c "pip install grip && mkdir ~/.grip/ && bash -c \"echo -e \\\"DEBUG=\$DEBUG\nDEBUG_GRIP=\$DEBUG_GRIP\nHOST='\$HOST'\\\" >> ~/.grip/settings.py \" && cd workspace/ && grip \$FILE"

# access the page at localhost:6419 on your browser
@nemre
Copy link

nemre commented Mar 19, 2022

Thank you @jfftonsic

@pataquets
Copy link

Linking to related PR #317

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants