File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -164,3 +164,5 @@ cython_debug/
164
164
.mongodb /
165
165
166
166
node_modules /
167
+
168
+ web2py /
Original file line number Diff line number Diff line change 1
1
# web2py-app
2
2
3
3
4
+ ## Create a virtual environment
5
+
6
+ Run the following command to create a virtual environment
7
+
8
+ ``` bash
9
+ $ python3 -m venv .venv
10
+ ```
11
+
12
+ then activate it,
13
+
14
+ ``` bash
15
+ $ source .venv/bin/activate
16
+ ```
17
+
18
+
19
+ ## Create a Web2Py project
20
+
21
+
22
+ Clone Web2Py from its GitHub repo,
23
+
24
+ ``` bash
25
+ $ git clone https://github.com/web2py/web2py.git
26
+ ```
27
+
28
+ Enter into the repository,
29
+
30
+ ``` bash
31
+ $ cd web2py
32
+ ```
33
+
34
+ To ensure the submodules are inplace, then run
35
+
36
+ ``` bash
37
+ $ git submodule update --init --recursive
38
+ ```
39
+
40
+ Then start Web2Py web portal,
41
+
42
+ ``` bash
43
+ $ python web2py.py
44
+ ```
45
+
46
+ It'll require you to setup a password. After that, you can visit [ http://127.0.0.1:8000 ] ( http://127.0.0.1:8000 )
You can’t perform that action at this time.
0 commit comments