(venv) PS C:\wagtail> coderedcms start mysite
Creating a Wagtail CRX project called mysite
Success! mysite has been created
Next steps:
1. cd mysite/
2. python manage.py migrate
3. python manage.py createsuperuser
4. python manage.py runserver
5. Go to http://localhost:8000/admin/ and start editing!
(venv) PS C:\wagtail>Code language:PowerShell(powershell)
接下來的步驟都是延續Django的初次啟動程序,首先進入mysite資料夾
(venv) PS C:\wagtail> cd mysite
(venv) PS C:\wagtail\mysite>Code language:PowerShell(powershell)
Applying wagtailsearch.0001_initial... OK
Applying wagtailsearch.0002_add_verbose_names... OK
Applying wagtailsearch.0003_remove_editors_pick... OK
Applying wagtailsearch.0004_querydailyhits_verbose_name_plural... OK
Applying wagtailsearch.0005_create_indexentry... OK
Applying wagtailsearch.0006_customise_indexentry... OK
Applying wagtailsearch.0007_delete_editorspick... OK
Applying wagtailseo.0001_initial... OK
Applying wagtailseo.0002_remove_seosettings_amp_pages... OK
Applying wagtailusers.0001_initial... OK
Applying wagtailusers.0002_add_verbose_name_on_userprofile... OK
Applying wagtailusers.0003_add_verbose_names... OK
Applying wagtailusers.0004_capitalizeverbose... OK
Applying wagtailusers.0005_make_related_name_wagtail_specific... OK
Applying wagtailusers.0006_userprofile_prefered_language... OK
Applying wagtailusers.0007_userprofile_current_time_zone... OK
Applying wagtailusers.0008_userprofile_avatar... OK
Applying wagtailusers.0009_userprofile_verbose_name_plural... OK
Applying wagtailusers.0010_userprofile_updated_comments_notifications... OK
Applying wagtailusers.0011_userprofile_dismissibles... OK
Applying website.0001_initial... OK
Applying website.0002_initial_data... OK
(venv) PS C:\wagtail\mysite>Code language:PowerShell(powershell)
(venv) PS C:\wagtail\mysite> python manage.py runserver
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
August 04, 2023 - 11:24:33
Django version 4.1.10, using settings 'mysite.settings.dev'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.Code language:PowerShell(powershell)