diff --git a/README.md b/README.md index 1f3313c..89e2380 100644 --- a/README.md +++ b/README.md @@ -13,20 +13,20 @@ If install.sh isn't executable run this: install.sh provides all necessarily commands (read more bellow) for python installation on deb system & creates server22 dir and .deb file in /tmp -- ./install.sh + ./install.sh Installation folder and .deb package are moved to tmp dir, so we will continue from there -- cd /tmp + cd /tmp That command will install package (version should change in the future, so use the right name of .deb package) -- sudo dpkg -i server22_13.2.2_all.deb + sudo dpkg -i server22_13.2.2_all.deb Be aware, that server22 is using docopt and It has to be run with port argument Now you can happily run your server :) -- server22 5000 + server22 5000 If you (for some reason) want to uninstall this project just type this: -- sudo apt-get remove server22 -y + sudo apt-get remove server22 -y ## Server22 info @@ -128,7 +128,7 @@ does not recommend this lib anymore. setuptools were created and It offers more options, after making setuptools implemented in python installation It becomes standart. Now we will take a look for some python setup.py use cases. -- python setup.py build + python setup.py build Creates a build folder (which is necessary for installation) - but not actually install anything. We can think about that as some 'preparation for install'. tree: @@ -146,7 +146,7 @@ tree: ├── __init__.py └── server23.py -- python setup.py install + python setup.py install Installation is 2 step action. First step = build. Second step = final local installation. tree: @@ -177,7 +177,7 @@ tree: ├── copyright └── changelog.gz -- python setup.py sdist + python setup.py sdist It will create source distribution - and zip it, so you can ship it :) tree: @@ -199,13 +199,13 @@ tree: ├── SOURCES.txt └── top_level.txt -- python setup.py develop + python setup.py develop Executes build, installation but creates a simlink, so every changes made are immediately visible, without need of reinstall. -- python setup.py bdist_rpm + python setup.py bdist_rpm Creates .rpm package, which can be installed. -- python setup.py bdist_wininst + python setup.py bdist_wininst Creates an executable installer for Windows. NOTE: bdist_rpm & bdist_wininst does not work on Debian based distrubutions! You have to do that on suitable OS.