Commit d3858d9e authored by w2v1's avatar w2v1
Browse files

removed unnecessary files

parent c15cccda
Loading
Loading
Loading
Loading

src/api/flask/README.md

deleted100644 → 0
+0 −9
Original line number Diff line number Diff line
## Common Webserver

This houses the common flask webserver

This flask webserver features a barebones webserver that can be run in a container
or installed with the common package.

It contains some basic features one would need in order to get started with a simple
webserver.
 No newline at end of file

src/api/flask/db/Dockerfile

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
FROM crunchydata/crunchy-postgres-gis:centos8-13.4-3.1-4.7.2

COPY schema /tmp/schema
COPY static /tmp/static

RUN cp /opt/crunchy/bin/postgres/setup.sql /pgconf/setup.sql
RUN cat /tmp/schema/users.sql >> /pgconf/setup.sql
 No newline at end of file
+0 −26

File deleted.

Preview size limit exceeded, changes collapsed.

src/api/flask/db/schema/users.sql

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
\set ON_ERROR_STOP on

CREATE SEQUENCE public.user_id_seq START 1;
create table if not exists public.users
(
    id  integer DEFAULT nextval('public.user_id_seq'::regclass) NOT NULL,
    username   varchar,
    first_name varchar               not null,
    last_name  varchar,
    email      varchar,
    user_password bytea,
    enabled    boolean default false not null,
    PRIMARY KEY(id),
    CONSTRAINT users_unique UNIQUE (username, email)
);

alter table public.users
    owner to postgres;
 No newline at end of file
+0 −0

Empty file deleted.

Loading