diff --git a/README.md b/README.md index f25c913..d454e98 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,8 @@ Contact me, create an issue or directly create a pull request. ### Development setup -#### Database & Backend +#### Database & Backend + 1. Open the `backend` 2. Duplicate the `.env.example` file, rename the duplicate to `.env` and change the environment variables if needed 3. Install the dependencies with `npm install` @@ -50,9 +51,10 @@ Contact me, create an issue or directly create a pull request. 6. Start the backend with `npm run dev` #### Frontend + 1. Open the `frontend` folder 2. Duplicate the `.env.example` file, rename the duplicate to `.env` and change the environment variables if needed 3. Install the dependencies with `npm install` 4. Start the frontend with `npm run dev` -You're all set! \ No newline at end of file +You're all set! diff --git a/frontend/docker-compose.yml b/frontend/docker-compose.yml deleted file mode 100644 index 4e2db4a..0000000 --- a/frontend/docker-compose.yml +++ /dev/null @@ -1,14 +0,0 @@ -version: '3.3' -services: - pingvin-share: - restart: "unless-stopped" - ports: - - '3000:3000' - image: stonith404/pingvin-share - environment: - - APPWRITE_FUNCTION_API_KEY=${APPWRITE_FUNCTION_API_KEY} - - PUBLIC_APPWRITE_HOST=${PUBLIC_APPWRITE_HOST} - - PUBLIC_MAX_FILE_SIZE=${PUBLIC_MAX_FILE_SIZE} - - PUBLIC_DISABLE_REGISTRATION=${PUBLIC_DISABLE_REGISTRATION} - - PUBLIC_DISABLE_HOME_PAGE=${PUBLIC_DISABLE_HOME_PAGE} - - PUBLIC_MAIL_SHARE_ENABLED=${PUBLIC_MAIL_SHARE_ENABLED} \ No newline at end of file diff --git a/frontend/src/components/share/FileList.tsx b/frontend/src/components/share/FileList.tsx index f7d8259..6c205fd 100644 --- a/frontend/src/components/share/FileList.tsx +++ b/frontend/src/components/share/FileList.tsx @@ -35,18 +35,6 @@ const FileList = ({ const rows = files.map((file) => (
| Name | Size | diff --git a/frontend/src/components/upload/FileList.tsx b/frontend/src/components/upload/FileList.tsx index 872f3f4..51b3c62 100644 --- a/frontend/src/components/upload/FileList.tsx +++ b/frontend/src/components/upload/FileList.tsx @@ -19,7 +19,6 @@ const FileList = ({ const rows = files.map((file, i) => ( | |||||
|---|---|---|---|---|---|---|---|
| {file.name} | -{file.type} | {byteStringToHumanSizeString(file.size.toString())} |
{file.uploadingState ? (
@@ -47,7 +46,6 @@ const FileList = ({
| Name |
- Type |
Size |
| |