Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Build web applications using the pytonik Folder and file structure.

![pytonic folder structure](https://eduhubdirect.com/folder_structure.png)
![pytonic folder structure](https://betacodings.com/public/assets/img/folder_structure.png)

This folder structure is commended by **pytonik** and should be used when developing web application.

Expand Down
Binary file not shown.
Binary file not shown.
Binary file added public/__pycache__/index.cpython-36.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytonik==1.9.8a2
pytonik==1.9.8rc1
8 changes: 8 additions & 0 deletions server.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from pytonik import serv
import os

LOCAL_PORT = 6060

port = int(os.environ.get("PORT", LOCAL_PORT))
host = "localhost" if os.environ.get("PORT") == None else ""
serv.run(host=host, port=port)
4 changes: 2 additions & 2 deletions views/400.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Romes" />
<meta name="keywords" content="Pythonic" />
<meta name="description" content="Pythonic" />
<meta name="keywords" content="Pytonik, MVC Framework, Pytonik Module, Python, Pytonik Server" />
<meta name="description" content="Pytonik is a python framework built to enhance web development fast and easy, also help web developers to build more apps with less codes. it uses expressive architectural pattern, structured on model view controller MVC and bundles of component to reuse while deploying the framework." />
<title>{{title}} | {{name}}</title>
<link rel="shortcut icon" href="{% call path '/public/static/img/favicon.png' %}" type="image/x-icon" />
<link rel="apple-touch-icon" href="{% call path '/public/static/img/favicon.png' %}" />
Expand Down
4 changes: 2 additions & 2 deletions views/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Romes" />
<meta name="keywords" content="Pythonic" />
<meta name="description" content="Pythonic" />
<meta name="keywords" content="Pytonik, MVC Framework, Pytonik Module, Python, Pytonik Server" />
<meta name="description" content="Pytonik is a python framework built to enhance web development fast and easy, also help web developers to build more apps with less codes. it uses expressive architectural pattern, structured on model view controller MVC and bundles of component to reuse while deploying the framework." />
<title>{{title}} | {{name}}</title>
<link rel="shortcut icon" href="{% call path '/public/static/img/favicon.png' %}" type="image/x-icon" />
<link rel="apple-touch-icon" href="{% call path '/public/static/img/favicon.png' %}" />
Expand Down
4 changes: 2 additions & 2 deletions views/405.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Romes" />
<meta name="keywords" content="Pythonic" />
<meta name="description" content="Pythonic" />
<meta name="keywords" content="Pytonik, MVC Framework, Pytonik Module, Python, Pytonik Server" />
<meta name="description" content="Pytonik is a python framework built to enhance web development fast and easy, also help web developers to build more apps with less codes. it uses expressive architectural pattern, structured on model view controller MVC and bundles of component to reuse while deploying the framework." />
<title>{{title}} | {{name}}</title>
<link rel="shortcut icon" href="{% call path '/public/static/img/favicon.png' %}" type="image/x-icon" />
<link rel="apple-touch-icon" href="{% call path '/public/static/img/favicon.png' %}" />
Expand Down
4 changes: 2 additions & 2 deletions views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Romes" />
<meta name="keywords" content="Pytonik" />
<meta name="description" content="Pytonik" />
<meta name="keywords" content="Pytonik, MVC Framework, Pytonik Module, Python, Pytonik Server" />
<meta name="description" content="Pytonik is a python framework built to enhance web development fast and easy, also help web developers to build more apps with less codes. it uses expressive architectural pattern, structured on model view controller MVC and bundles of component to reuse while deploying the framework." />
<title>{{title}} | {{name}}</title>
<link rel="shortcut icon" href="public/static/img/favicon.png" type="image/x-icon" />
<link rel="apple-touch-icon" href="{% call path 'public/static/img/favicon.png' %}" />
Expand Down