Skip to content

Commit

Permalink
postgres init file added
Browse files Browse the repository at this point in the history
  • Loading branch information
darknight-007 committed Jan 16, 2018
1 parent 3211488 commit 06f3078
Show file tree
Hide file tree
Showing 31 changed files with 7 additions and 22 deletions.
2 changes: 1 addition & 1 deletion agdss/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,6 @@
# https://docs.djangoproject.com/en/1.9/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = "/app/static-root/"
CATEGORY_TO_LABEL = 'tomato'
CATEGORY_TO_LABEL = 'ground-gear'
LABEL_FOLDER_NAME = 'labels-'

Binary file removed annotable/small-tomatoes/IMG_2565.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2566.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2567.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2568.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2569.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2570.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2571.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2572.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2573.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2574.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2575.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2576.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2577.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2578.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2579.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2590.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2591.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2592.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2593.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2594.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2595.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2596.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2597.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2598.JPG
Binary file not shown.
Binary file removed annotable/small-tomatoes/IMG_2599.JPG
Binary file not shown.
17 changes: 0 additions & 17 deletions annotable/small-tomatoes/addImages.sh

This file was deleted.

2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
volumes:
- ./:/app
working_dir: /app
command: bash -c "cp -r annotable/small-tomatoes/ webclient/static/ && python3 manage.py runserver 0.0.0.0:8000 --settings=agdss.settings.common"
command: bash -c "cp -r annotable/ground-gear/ webclient/static/ && python3 manage.py runserver 0.0.0.0:8000 --settings=agdss.settings.common"


networks:
Expand Down
3 changes: 3 additions & 0 deletions dockerfiles/postgres/init.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CREATE DATABASE "agdss";
CREATE USER aguser WITH PASSWORD 'aguser';
GRANT ALL PRIVILEGES ON DATABASE "agdss" to aguser;
4 changes: 2 additions & 2 deletions webclient/image_ops/crop_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import random


NUM_WINDOW_ROWS = 4
NUM_WINDOW_COLS = 4
NUM_WINDOW_ROWS = 1
NUM_WINDOW_COLS = 1
WINDOW_PADDING = 20
NUM_LABELS_PER_WINDOW = 3

Expand Down
1 change: 0 additions & 1 deletion webclient/templates/webclient/label.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@
}else{
raster.remove();
}

//selectedImage = JSON.parse($('#imageCombo').val());
$.ajax({
url: "/webclient/getNewImage",
Expand Down

0 comments on commit 06f3078

Please sign in to comment.