Skip to content

Commit b189308

Browse files
authored
Merge pull request #3 from dreulavelle/init-frontend
Initialize basic framework setup and other changes
2 parents f7e2a48 + 03a8c67 commit b189308

File tree

91 files changed

+4179
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+4179
-63
lines changed

.eslintignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
10+
# Ignore files for PNPM, NPM and YARN
11+
pnpm-lock.yaml
12+
package-lock.json
13+
yarn.lock

.eslintrc.cjs

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/** @type { import("eslint").Linter.FlatConfig } */
2+
module.exports = {
3+
root: true,
4+
extends: [
5+
'eslint:recommended',
6+
'plugin:@typescript-eslint/recommended',
7+
'plugin:svelte/recommended',
8+
'prettier'
9+
],
10+
parser: '@typescript-eslint/parser',
11+
plugins: ['@typescript-eslint'],
12+
parserOptions: {
13+
sourceType: 'module',
14+
ecmaVersion: 2020,
15+
extraFileExtensions: ['.svelte']
16+
},
17+
env: {
18+
browser: true,
19+
es2017: true,
20+
node: true
21+
},
22+
overrides: [
23+
{
24+
files: ['*.svelte'],
25+
parser: 'svelte-eslint-parser',
26+
parserOptions: {
27+
parser: '@typescript-eslint/parser'
28+
}
29+
}
30+
]
31+
};

.gitignore

Lines changed: 13 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
# Created by https://www.toptal.com/developers/gitignore/api/python,pythonvanilla,visualstudiocode,pydev,pycharm
2-
# Edit at https://www.toptal.com/developers/gitignore?templates=python,pythonvanilla,visualstudiocode,pydev,pycharm
3-
4-
### PyCharm ###
5-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
6-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
env/
10+
venv/
11+
vite.config.js.timestamp-*
12+
vite.config.ts.timestamp-*
713

8-
# Gaisberg PD Project specific stuff
9-
.vscode
1014
__pycache__
1115
settings.json
1216
*.log
@@ -53,7 +57,6 @@ dist/
5357
downloads/
5458
eggs/
5559
.eggs/
56-
lib/
5760
lib64/
5861
parts/
5962
sdist/
@@ -141,57 +144,6 @@ __pypackages__/
141144
celerybeat-schedule
142145
celerybeat.pid
143146

144-
# Environments
145-
.env
146-
.venv
147-
env/
148-
venv/
149-
ENV/
150-
env.bak/
151-
venv.bak/
152-
153-
# PyCharm
154-
# JetBrains specific template is maintainted in a separate JetBrains.gitignore that can
155-
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
156-
# and can be added to the global gitignore or merged into this file. For a more nuclear
157-
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
158-
#.idea/
159-
160-
### PythonVanilla ###
161-
# Byte-compiled / optimized / DLL files
162-
163-
# C extensions
164-
165-
# Distribution / packaging
166-
167-
# Installer logs
168-
169-
# Unit test / coverage reports
170-
171-
# Translations
172-
173-
# pyenv
174-
# For a library or package, you might want to ignore these files since the code is
175-
# intended to run in multiple environments; otherwise, check them in:
176-
# .python-version
177-
178-
# pipenv
179-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
180-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
181-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
182-
# install all needed dependencies.
183-
184-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
185-
186-
187-
### VisualStudioCode ###
188-
.vscode/*
189-
!.vscode/settings.json
190-
!.vscode/tasks.json
191-
!.vscode/launch.json
192-
!.vscode/extensions.json
193-
!.vscode/*.code-snippets
194-
195147
# Local History for Visual Studio Code
196148
.history/
197149

@@ -201,4 +153,4 @@ venv.bak/
201153
### VisualStudioCode Patch ###
202154
# Ignore all local history of files
203155
.history
204-
.ionide
156+
.ionide

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

.prettierignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
10+
# Ignore files for PNPM, NPM and YARN
11+
pnpm-lock.yaml
12+
package-lock.json
13+
yarn.lock

.prettierrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"useTabs": true,
3+
"singleQuote": true,
4+
"trailingComma": "none",
5+
"printWidth": 100,
6+
"plugins": ["prettier-plugin-tailwindcss"],
7+
"overrides": [
8+
{
9+
"files": "*.svelte",
10+
"options": {
11+
"parser": "svelte"
12+
}
13+
}
14+
]
15+
}

README.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,43 @@
1-
# DISCONTINUED
1+
# Iceburg
2+
3+
4+
## Development
5+
6+
### Install dependencies for the frontend
7+
8+
```bash
9+
pnpm install
10+
# OR
11+
npm install
12+
```
13+
14+
### Run the frontend
15+
16+
```bash
17+
pnpm run dev
18+
# OR
19+
npm run dev
20+
```
21+
22+
### Install dependencies for the backend
23+
24+
```bash
25+
cd backend
26+
pip install -r requirements.txt
27+
```
28+
29+
### Run the backend
30+
31+
```bash
32+
cd backend
33+
python main.py
34+
```
35+
36+
37+
--------------------
38+
39+
40+
# Old Readme
241

342
The idea behind this was to make a simple and functional rewrite of plex debrid that seemed to get a bit clustered.
443

components.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "https://shadcn-svelte.com/schema.json",
3+
"style": "default",
4+
"tailwind": {
5+
"config": "tailwind.config.js",
6+
"css": "src/app.pcss",
7+
"baseColor": "slate"
8+
},
9+
"aliases": {
10+
"components": "$lib/components",
11+
"utils": "$lib/utils"
12+
}
13+
}

0 commit comments

Comments
 (0)