mirror of
https://github.com/gabrielkheisa/meme-generator.git
synced 2024-11-25 12:53:32 +07:00
update
This commit is contained in:
parent
0bba634415
commit
c88195d8d5
@ -75,7 +75,10 @@ git clone https://repo.gabrielkheisa.xyz/gabrielkheisa/meme-generator.git
|
|||||||
git checkout docker
|
git checkout docker
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>4. Bash into container</h3>
|
<h3>4. Bash into container, to run it as detached output (in background) use <b>screen</b></h3>
|
||||||
|
<pre>
|
||||||
|
screen
|
||||||
|
</pre>
|
||||||
<pre>
|
<pre>
|
||||||
docker exec -u root -t -i some-app /bin/bash
|
docker exec -u root -t -i some-app /bin/bash
|
||||||
</pre>
|
</pre>
|
||||||
@ -96,7 +99,7 @@ exit;
|
|||||||
cd /var/www/html/meme-generator
|
cd /var/www/html/meme-generator
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>8. Run the Python script</b></h3>
|
<h3>8. Run the Python script, detach from <b>screen</b> by pressing <b>Ctrl + A</b> then <b>Ctrl + D</b></h3>
|
||||||
<pre>
|
<pre>
|
||||||
python3 renderDB.py
|
python3 renderDB.py
|
||||||
</pre>
|
</pre>
|
Loading…
Reference in New Issue
Block a user