Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
anis
anis-server
Commits
bf016d72
Commit
bf016d72
authored
Jan 14, 2020
by
Tifenn Guillas
Browse files
Add svom datasets as dev data
parent
5871d017
Pipeline
#1888
passed with stages
in 8 minutes and 10 seconds
Changes
5
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
bf016d72
...
...
@@ -16,7 +16,6 @@ list:
@
echo
" phpunit > run php unit test suite"
@
echo
" phpcs > run php code sniffer test suite"
@
echo
" create-db > create a database for dev only"
@
echo
" dev-meta > load metamodel information for testing application"
@
echo
" remove-pgdata > remove the metadata database"
@
echo
""
...
...
conf-dev/create-db.sh
View file @
bf016d72
This diff is collapsed.
Click to expand it.
conf-dev/init-postgres.sh
View file @
bf016d72
...
...
@@ -10,3 +10,4 @@ psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-E
EOSQL
psql
-v
ON_ERROR_STOP
=
1
-f
/sql/obs_cat.sql
--username
"anis"
--dbname
"anis_test"
psql
-v
ON_ERROR_STOP
=
1
-f
/sql/observations_info.sql
--username
"anis"
--dbname
"anis_test"
psql
-v
ON_ERROR_STOP
=
1
-f
/sql/svom_sdb_dc1.sql
--username
"anis"
--dbname
"anis_test"
conf-dev/svom_sdb_dc1.sql
0 → 100644
View file @
bf016d72
This diff is collapsed.
Click to expand it.
docker-compose.yml
View file @
bf016d72
...
...
@@ -33,6 +33,7 @@ services:
-
pgdata:/var/lib/postgresql/data
-
./conf-dev/obs_cat.sql:/sql/obs_cat.sql
-
./conf-dev/observations_info.sql:/sql/observations_info.sql
-
./conf-dev/svom_sdb_dc1.sql:/sql/svom_sdb_dc1.sql
-
./conf-dev/init-postgres.sh:/docker-entrypoint-initdb.d/init-postgres.sh
adminer
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment