Added prereqs, usage and installation instructions

Commit
d4b417b6d7c42440a4002aa183a9bb580429a6ec
Author
blendoit <blendoit@gmail.com>
Author date
Committer
blendoit <blendoit@gmail.com>
Committer date
Changed files
README.org
index d3fa4ea4..4197c414 100644..100644
@@ -35,3 +35,18 @@
35 35
36 36 *** =forms.py=
37 37 This Python file contains the forms that our user will sign in throughout the website (registration, login). Possible implementation of the messaging system as a series of forms sent from user to user.
38 Added:
39 Added: * Prerequisites
40 Added:
41 Added: 1. A Python interpreter and the following dependencies:
42 Added: 1. =Flask=
43 Added: 2. A web browser
44 Added:
45 Added: * Installation
46 Added:
47 Added: Install Python.
48 Added:
49 Added: * Viewing the website
50 Added:
51 Added: 1. Run the =routes.py= script using your Python interpreter.
52 Added: 2. Visit =127.0.0.1= on your web browser.
README.pdf
index 07be55f0..9859189a 100644..100644

Binary files differ

README.tex
index fb73f054..0483e295 100644..100644
@@ -1,4 +1,4 @@
1 Removed: % Created 2020-01-22 Wed 19:35
1 Added: % Created 2020-01-22 Wed 20:21
2 2 % Intended LaTeX compiler: pdflatex
3 3 \documentclass[11pt]{article}
4 4 \usepackage[utf8]{inputenc}
@@ -32,48 +32,72 @@
32 32
33 33
34 34 \section{Folder structure}
35 Removed: \label{sec:org4938adb}
35 Added: \label{sec:org7993fb5}
36 36
37 37 \subsection{\texttt{Pipfile}}
38 Removed: \label{sec:orgd7f1aa1}
38 Added: \label{sec:org80836f9}
39 39 Inspecting this file reveals the Python dependencies required by the Flask application.
40 Removed: The convenient \texttt{pipenv} Python package bundles together the creation of virtual environments and populating these virtual environments using the same commands as \texttt{pip}. For more information on \texttt{pipenv}, visit \href{https:github.com/pypa/pipenv}{the official pipenv page}.
40 Added: The convenient \texttt{pipenv} Python package bundles together the creation of virtual environments and populating these virtual environments using the same commands as \texttt{pip}. For more information on \texttt{pipenv}, visit \href{https://github.com/pypa/pipenv}{the official pipenv page}.
41 41
42 42 \subsection{\texttt{Pipfile.lock}}
43 Removed: \label{sec:org27c90c7}
43 Added: \label{sec:orgf06ab89}
44 44 This file contains checksums for the packages installed via \texttt{pipenv}.
45 45
46 46 \subsection{\texttt{README.org}}
47 Removed: \label{sec:org87e8b71}
47 Added: \label{sec:org1715543}
48 48 This is the file you are currently reading. Github automatically formats README files and presents underneath the code explorer.
49 49
50 50 \subsection{\texttt{app} directory}
51 Removed: \label{sec:org8b8aa68}
51 Added: \label{sec:org67d9e1d}
52 52 Contains \texttt{.py} Python scripts calling the \texttt{Flask} library in order to serve web pages to the end user.
53 53
54 54 \subsubsection{\texttt{static}}
55 Removed: \label{sec:org75f3ff4}
55 Added: \label{sec:org250fc10}
56 56 Static files and assets do not change during the \texttt{Flask} application's execution.
57 57
58 58 \begin{enumerate}
59 59 \item \texttt{img}
60 Removed: \label{sec:org227be90}
60 Added: \label{sec:org6b963c3}
61 61 This is where website images are saved. User images will be stored in a database, which is currently not implemented.
62 62
63 63 \item \texttt{styles}
64 Removed: \label{sec:org52a88e7}
64 Added: \label{sec:org860737a}
65 65 Here, we store \texttt{CSS} style sheets. These contain appearance information for elements described in \texttt{HTML} documents.
66 66 \end{enumerate}
67 67
68 68 \subsubsection{\texttt{templates}}
69 Removed: \label{sec:org24e0e72}
69 Added: \label{sec:orgae70d36}
70 70 In the templates folder, we organise our \texttt{HTML} templates. Rather than simple \texttt{HTML} documents which always present the same content to all users, templates are rendered to the user's browser by the application and are populated during loading with content we can request via the Python application.
71 71
72 72 \subsubsection{\texttt{routes.py}}
73 Removed: \label{sec:orgc4dc0be}
73 Added: \label{sec:orge3ac7eb}
74 74 This Python file containes our website routes. These are the names of our website's pages, followed by functions describing actions performed on the server side every time a user visits a certain page.
75 75
76 76 \subsubsection{\texttt{forms.py}}
77 Removed: \label{sec:orgb8c7f76}
77 Added: \label{sec:org934f5b3}
78 78 This Python file contains the forms that our user will sign in throughout the website (registration, login). Possible implementation of the messaging system as a series of forms sent from user to user.
79 Added:
80 Added: \section{Prerequisites}
81 Added: \label{sec:orgf8c00d7}
82 Added:
83 Added: \begin{enumerate}
84 Added: \item A Python interpreter and the following dependencies:
85 Added: \begin{enumerate}
86 Added: \item \texttt{Flask}
87 Added: \end{enumerate}
88 Added: \item A web browser
89 Added: \end{enumerate}
90 Added:
91 Added: \section{Installation}
92 Added: \label{sec:org41d3c46}
93 Added:
94 Added: Install Python.
95 Added:
96 Added: \section{Viewing the website}
97 Added: \label{sec:orgff7b5c7}
98 Added:
99 Added: \begin{enumerate}
100 Added: \item Run the \texttt{routes.py} script using your Python interpreter.
101 Added: \item Visit \texttt{127.0.0.1} on your web browser.
102 Added: \end{enumerate}
79 103 \end{document}