mirror of https://github.com/openresty/openresty
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
331 B
Bash
13 lines
331 B
Bash
15 years ago
|
#!/bin/bash
|
||
|
|
||
|
mysql -h localhost -p -u monty test < misc/mysql/init-db.sql
|
||
|
|
||
|
../../util/import-model.pl --reset --user monty \
|
||
|
--password some_pass --server localhost \
|
||
|
--model posts Post.json
|
||
|
|
||
|
../../util/import-model.pl --reset --user monty \
|
||
|
--password some_pass --server localhost \
|
||
|
--model comments Comment.json
|
||
|
|