mirror of
https://github.com/retspen/webvirtcloud
synced 2025-02-24 05:15:18 +00:00
Updated Docker Installation (textile)
parent
920848b0f5
commit
fcb3184eed
1 changed files with 1 additions and 7 deletions
|
@ -6,17 +6,11 @@ Steps:
|
|||
# <pre><code>git clone https://github.com/retspen/webvirtcloud.git</code></pre>
|
||||
# <pre><code>cd webvirtcloud/</code></pre>
|
||||
# <pre><code>cp webvirtcloud/settings.py.template webvirtcloud/settings.py</code></pre>
|
||||
# Generate random number:
|
||||
# Generate random number using Python:
|
||||
<pre><code>
|
||||
python
|
||||
Python 2.7.5 (default, Oct 30 2018, 23:45:53)
|
||||
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux2
|
||||
Type "help", "copyright", "credits" or "license" for more information.
|
||||
import random, string
|
||||
haystack = string.ascii_letters + string.digits + string.punctuation
|
||||
print(''.join([random.SystemRandom().choice(haystack) for _ in range(50)]))
|
||||
<generated code>
|
||||
exit()
|
||||
</code></pre>
|
||||
# copy 'generated code' and paste it to webvirtcloud/settings.py as SECRET_KEY = ''
|
||||
# <pre><code>docker build -t retspen/webvirtcloud:0.1 .</code></pre>
|
||||
|
|
Loading…
Reference in a new issue