File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11include requirements.txt
22include dev_requirements.txt
33exclude config.json
4- recursive-include {projname} *
5- recursive-exclude {projname} /instance *
6- recursive-exclude {projname} /migrations *
7- recursive-exclude {projname} /static/modules *
8- recursive-exclude {projname} /.tox *
4+ recursive-include pythoncms *
5+ recursive-exclude pythoncms /instance *
6+ recursive-exclude pythoncms /migrations *
7+ recursive-exclude pythoncms /static/modules *
8+ recursive-exclude pythoncms /.tox *
99recursive-exclude __pycache__ *
Original file line number Diff line number Diff line change 1818
1919## Try
2020
21+ ![ ] ( https://github.com/shopyo/pythoncms/raw/main/assets/term.gif )
22+
2123In virtual env
2224
2325```
24- pip install pythoncms==1.2.0
26+ pip install pythoncms==1.2.1
2527pythoncms start mysite
2628cd mysite
2729shopyo initialise
Original file line number Diff line number Diff line change 1- version_info = (1 , 2 , 0 )
1+ version_info = (1 , 2 , 1 )
22__version__ = "." .join ([str (v ) for v in version_info ])
Original file line number Diff line number Diff line change @@ -60,9 +60,6 @@ def start(name):
6060 dest = os .getcwd () + f"/{ name } "
6161
6262 trycopytree (str (path .parent .absolute ()), dest )
63- tryrmtree (dest + "/__pycache__" )
64- tryrmtree (dest + "/migrations" )
65- tryrmtree (dest + "/instance" )
66- tryrmfile (dest + "/config.json" )
63+ tryrmfile (dest + "/cli.py" )
6764 trymkfile (dest + "/requirements.txt" , reqs )
6865 click .echo (f"🍭 Pythoncms project { name } is ready to go!" )
You can’t perform that action at this time.
0 commit comments