We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86dfa87 commit 79a1515Copy full SHA for 79a1515
README.md
@@ -0,0 +1,43 @@
1
+# QR code service
2
+
3
+## Prerequisites
4
+ * Python 3.6 / Python 3.7
5
+ * pip
6
7
+## installation
8
9
+```bash
10
+pip install -r requirements.txt
11
+```
12
13
+## Run production server
14
15
16
+export DJANGO_SETTINGS_MODULE="qr_service.settings.production"
17
+export SECRET_KEY="s3cR3T_k3y"
18
+export DEBUG=0
19
+python manage.py runserver 8000
20
21
22
23
+## deploy with docker
24
25
+### create env file
26
27
+cp .env.example .env
28
29
30
+#### build
31
32
33
+docker-compose build
34
35
36
+#### run
37
38
+docker-compose up
39
40
41
+* Your server is now available at localhost:1337
42
43
+You can configure the used port in docker-compose.yml in services.nginx.ports
0 commit comments