buildfiles pt5
This commit is contained in:
parent
29431551b8
commit
9256ff3eb8
2 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,7 @@ tasks:
|
|||
sudo -u postgres chmod 0700 /var/lib/postgresql/data
|
||||
sudo -u postgres initdb -D /var/lib/postgresql/data
|
||||
sudo -u postgres pg_ctl start -D /var/lib/postgresql/data
|
||||
cd /home/build/trifid
|
||||
cd /home/build/trifid/trifid-api
|
||||
cargo install sqlx-cli
|
||||
/home/build/.cargo/bin/sqlx database create
|
||||
/home/build/.cargo/bin/sqlx mig run
|
||||
|
|
1
.env
Normal file
1
.env
Normal file
|
@ -0,0 +1 @@
|
|||
DATABASE_URL=postgres://postgres@localhost/trifidapi
|
Loading…
Reference in a new issue