We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85b95b6 commit 81aeac0Copy full SHA for 81aeac0
Makefile.toml
@@ -32,6 +32,22 @@ args = ["serve"]
32
# rm -rf dist
33
# '''
34
35
+# local db
36
+[tasks.db-start]
37
+workspace = false
38
+script_runner = "@shell"
39
+script = '''
40
+docker run -d --name devbcn-workshop -p 5432:5432 -e POSTGRES_PASSWORD=postgres -e POSTGRES_USER=postgres -e POSTGRES_DB=devbcn postgres
41
+'''
42
+
43
+[tasks.db-stop]
44
45
46
47
+docker stop postgres
48
+docker rm postgres
49
50
51
# general tasks
52
[tasks.clippy]
53
workspace = false
0 commit comments