You can use nohup too and running it in the background like this
nohup python3 costa.py localhost 80 My_Service &
## Configuration
### Server (config/server.py)
tools.sessions.on
Default: True
Description: Enable sessions
engine.autoreload.on
Default: False
Description: Auto Reload when source code change. Don't use it in production.
request.show_tracebacks
Default: False
Description: Show traceback for debugging in development purposes.
### Global Variable (config/globalvar.py)
`directory.py` is the place for storing your Global Variable.
GV_base_url
Is the variable for your base URL (without `/` in the end)
GV_title
Is the variable for your web title
### Directory (config/directory.py)
`directory.py` is the place for storing your path. It is useful to calling the path more efficiently. there is 2 method that you can store your path. store it in variable for templating configuration, and store it as object for routing the url.
Templating is useful when you had more than 1 website template for difference use case. For an example, when you had user and admin in the use case, the website for user have a navbar and footer, and the website for admin have a navbar and sidebar.
Before you create a template, make sure your `directory` configuration is ready for storing templates and pages. For an example:
html_user = "static/pages-user"
template_user = "static/template-user"
To create the template, you need to insert this code in `def __init__(self)`