-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.txt
56 lines (32 loc) · 1.42 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
THIS PROJECT IS BASED ON https://buildasaasappwithflask.com/ , AN EXCELLENT COURSE TO BUILDING PYTHON FLASK APPLICATIONS BY NICK JANETAKIS
This was my first Flask project, and I made good decision to base it on the course to get all the necessary docker stuff etc. as quickly
working as possible. Nick provides excellent support for his courses, so if you feel need to learn how to build this further or any other
Flask application, I sincerely recommend his course.
INSTALLING DOCKER
Ubuntu:
https://docs.docker.com/engine/installation/linux/ubuntu/
Debian
https://docs.docker.com/engine/installation/linux/debian/
RHEL
https://docs.docker.com/engine/installation/linux/rhel/
CentOS
https://docs.docker.com/engine/installation/linux/centos/
Fedora
https://docs.docker.com/engine/installation/linux/fedora/
Further information for other platforms:
https://nickjanetakis.com/blog/should-you-use-the-docker-toolbox-or-docker-for-mac-windows
CHECK THAT DOCKER IS WORKING
type:
$ docker --version
DOCKER COMPOSE INSTALLATION
Linux users need to download Docker Compose:
curl -L \
https://github.com/docker/compose/releases/download/1.16.1/docker-compose-Linux-x86_64 > \
/tmp/docker-compose && \
chmod +x /tmp/docker-compose && \
sudo mv /tmp/docker-compose /usr/local/bin
BUILDING AND STARTING
type at project home directory:
$ docker-compose up --build
After this you can visit the site in browser at address:
http://localhost:8000/