-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,18 @@ | ||
* How do I use it? | ||
- edit the configuration in the pyuio.py file or | ||
export an PYUIO_SETTINGS environment variable | ||
pointing to a configuration file. | ||
|
||
- edit the configuration in the pyuio.py file or export an *PYUIO_SETTINGS* environment variable pointing to a configuration file. | ||
- install the app from the root of the project directory | ||
|
||
pip install -r requirements.txt | ||
|
||
#+BEGIN_SRC sh | ||
pip install -r requirements.txt | ||
#+END_SRC | ||
- initialize the database with this command: | ||
cd WebSite/ | ||
python pyuio.py db init | ||
python pyuio.py db migrate | ||
python pyuio.py db upgrade | ||
|
||
#+BEGIN_SRC sh | ||
cd WebSite/ | ||
python pyuio.py db init | ||
python pyuio.py db migrate | ||
python pyuio.py db upgrade | ||
#+END_SRC | ||
- now you can run WebSite: | ||
|
||
python pyuio.py runserver | ||
|
||
the application will greet you on | ||
|
||
http://localhost:5000/ | ||
#+BEGIN_SRC sh | ||
python pyuio.py runserver | ||
#+END_SRC | ||
the application will greet you on: [[http://localhost:5000/]] |