Skip to content

Commit

Permalink
Document backing up the database
Browse files Browse the repository at this point in the history
  • Loading branch information
germannp committed May 17, 2024
1 parent 2875088 commit 47c5215
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,13 @@ mapped to the database, and render data and forms in templates.
To customize Bootstrap, it's source code and [SASS](https://sass-lang.com/) are required.
These can be installed using `$ nmp i bootstrap@5.2.0 sass`. Then the stylesheets can be
compiled using `sass news/static/news/custom.scss news/static/news/custom.css`. The
resulting files need to be versioned for the site to work.
resulting files need to be versioned for the site to work.

To build push to [github.com/germannp/acbeo.ch](https://github.com/germannp/acbeo.ch).
The new container will be deployed, if the unit tests pass. To back up the database use
e.g.:
```
$ fly ssh console
# python manage.py dumpdata > acbeo-db_2024-05-17.json
$ fly sftp get /app/acbeo-db_2024-05-17.json
```

0 comments on commit 47c5215

Please sign in to comment.