Skip to content

Commit

Permalink
Merge pull request #649 from IATI/design-version-bump
Browse files Browse the repository at this point in the history
Bump to use the newest version of the design system
  • Loading branch information
Bjwebb authored Jan 29, 2025
2 parents dd01ca7 + a7dbe65 commit ac57f30
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,16 @@ python -m iati_dashboard.make_csv
python -m iati_dashboard.speakers_kit
```

### 4. Run the webserver.
### 4. Start Postgres database and run migrations
```
docker run --name iati-dashboard-psql -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=test_database_name -p 5432:5432 -d postgres:latest
DEBUG=True DATABASE_URL="postgres://postgres:postgres@localhost:5432/test_database_name" python manage.py migrate
```

### 5. Run the webserver.

```
DEBUG=True python manage.py runserver
DEBUG=True DATABASE_URL="postgres://postgres:postgres@localhost:5432/test_database_name" python manage.py runserver
```

The Dashboard will now be accessible from `localhost:8000/`.
Expand Down
8 changes: 5 additions & 3 deletions iati_dashboard/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/iati-design-system@3.4.0/dist/css/iati.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/iati-design-system@3.4.0/dist/js/iati.js"></script>
<link href="https://cdn.jsdelivr.net/npm/iati-design-system@3.5.0/dist/css/iati.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/iati-design-system@3.5.0/dist/js/iati.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap-grid.min.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap-utilities.min.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="{{ static('style.css') }}" />
Expand Down Expand Up @@ -225,8 +225,10 @@ <h2 class="iati-footer-block__title iati-footer-block__title--centered">
<h2 class="iati-footer-block__title">Additional information</h2>
<div class="iati-footer-block__content iati-footer-block__content--columns">
<div>
<p>Part of the IATI Unified Platform.</p>
<p>
Licensed under the GNU GPLv3.
Code licensed under
<a href="https://www.gnu.org/licenses/gpl-3.0.html">GNU GPLv3</a>.
</p>
</div>
<div>
Expand Down

0 comments on commit ac57f30

Please sign in to comment.