use ./run instead of bin/plinth now for non-installed development

This commit is contained in:
fonfon 2014-09-11 15:34:35 +02:00
parent 43a614fca5
commit dde2614beb
2 changed files with 22 additions and 1 deletions

View File

@ -18,7 +18,7 @@
2. Plinth also support running without installing (as much as possible). 2. Plinth also support running without installing (as much as possible).
Simply run it as: Simply run it as:
$ sudo ./bin/plinth --no-daemon --debug $ sudo ./run --no-daemon --debug
In this mode, Plinth runs in working directory without need for In this mode, Plinth runs in working directory without need for
installation. It uses the plinth.conf config file in the working installation. It uses the plinth.conf config file in the working

21
run Executable file
View File

@ -0,0 +1,21 @@
#!/usr/bin/python
#
# This file is part of Plinth.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
import plinth.__main__
plinth.__main__.main()