File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 11# pyopensci-django
22
33A repository to migrate the pyOpenSci Jekyll site to Django with Wagtail CMS.
4- I am making a pull request demo.
54
65<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
76[ ![ All Contributors] ( https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square )] ( #contributors- )
@@ -31,6 +30,13 @@ uv sync
3130npm install
3231```
3332
33+ If you are running a development server locally and you have set things up previously, you may want to delete your existing
34+ database and start from scratch. To do this, delete the ` db.sqlite3 ` file in the project root:
35+
36+ ``` bash
37+ rm db.sqlite3
38+ ```
39+
3440### 2. Build CSS and Set Up Database
3541
3642``` bash
@@ -68,7 +74,7 @@ uv run python manage.py create_dummy_posts --delete
6874```
6975
7076This command creates:
71- - Blog posts distributed across multiple years (for testing year filters)
77+ - Blog posts distributed across multiple years (for testing the drop down, year filters)
7278- Events with both past and upcoming dates
7379- Random tags, authors, and excerpts
7480- All posts are automatically published and visible
You can’t perform that action at this time.
0 commit comments