Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Django
(view source)
Revision as of 14:24, 16 March 2015
No change in size
,
14:24, 16 March 2015
no edit summary
Line 21:
Line 21:
To create the database tables execute from the project folder:
To create the database tables execute from the project folder:
<nowiki>python manage.py migrate</nowiki>
<nowiki>python manage.py migrate</nowiki>
−
To stop the daemon:
−
<nowiki>ps -ef | egrep python manage.py</nowiki>
−
then kill process
==== Run App in development server ====
==== Run App in development server ====
Line 33:
Line 30:
To run server as daemon:
To run server as daemon:
<nowiki>nohup python manage.py runserver 0.0.0.0:8000</nowiki>
<nowiki>nohup python manage.py runserver 0.0.0.0:8000</nowiki>
+
To stop the daemon:
+
<nowiki>ps -ef | egrep python manage.py</nowiki>
+
then kill process
==== Create an app ====
==== Create an app ====
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version