poetry install
Activate the virtual environment
poetry shell
The Wordpress demo site uses a docker container that can be started with the following command:
wp build
wp up
wp load
It will be available at http://localhost:8888 and the admin at http://localhost:8888/wp-admin and populated with some default content.
You can login with the following credentials:
- Username:
admin
- Password:
password
The API root can be seen here: http://localhost:8888/wp-json/wp/v2
wp down
wp destroy
wp --help
dj authors
dj categories
dj tags
dj posts
dj pages
dj media
dj comments
or to run all of them
dj complete
dj runserver
With the virtual environment activated you can run the following commands:
./manage.py [command]
- Spin up a wordpress example site to import from
- Import form the Wordpress JSON API
- Create comparable records in Django models
- Make admin a usable app for at least viewing the importred content
- Expose an API that can be used to import into Wagtail