mbesinci commited on
Commit
bc3edca
1 Parent(s): 9487710

Upload 5 files

Browse files
Files changed (5) hide show
  1. .gitignore +1 -0
  2. README.md +3 -12
  3. package-lock.json +30 -0
  4. package.json +5 -0
  5. start.sh +10 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ /.DS_Store
README.md CHANGED
@@ -1,12 +1,3 @@
1
- ---
2
- title: Slavicmedia
3
- emoji: 😻
4
- colorFrom: green
5
- colorTo: indigo
6
- sdk: gradio
7
- sdk_version: 5.5.0
8
- app_file: app.py
9
- pinned: false
10
- ---
11
-
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
+ <a target="_blank" href="https://api.slavic.media">Backend</a>: <i>npm run start-dev</i>
2
+ <br>
3
+ <a target="_blank" href="https://dev.slavic.media">Frontend</a>: <i>npm run dev</i>
 
 
 
 
 
 
 
 
 
package-lock.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "slavic.media 2.0",
3
+ "lockfileVersion": 3,
4
+ "requires": true,
5
+ "packages": {
6
+ "": {
7
+ "dependencies": {
8
+ "swiper": "^11.1.14"
9
+ }
10
+ },
11
+ "node_modules/swiper": {
12
+ "version": "11.1.14",
13
+ "resolved": "https://registry.npmjs.org/swiper/-/swiper-11.1.14.tgz",
14
+ "integrity": "sha512-VbQLQXC04io6AoAjIUWuZwW4MSYozkcP9KjLdrsG/00Q/yiwvhz9RQyt0nHXV10hi9NVnDNy1/wv7Dzq1lkOCQ==",
15
+ "funding": [
16
+ {
17
+ "type": "patreon",
18
+ "url": "https://www.patreon.com/swiperjs"
19
+ },
20
+ {
21
+ "type": "open_collective",
22
+ "url": "http://opencollective.com/swiper"
23
+ }
24
+ ],
25
+ "engines": {
26
+ "node": ">= 4.7.0"
27
+ }
28
+ }
29
+ }
30
+ }
package.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "dependencies": {
3
+ "swiper": "^11.1.14"
4
+ }
5
+ }
start.sh ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Start backend dev server in a new terminal
4
+ osascript -e 'tell application "Terminal" to do script "cd ~/path/to/backend && npm run dev"'
5
+
6
+ # Start backend start-dev server in a new terminal
7
+ osascript -e 'tell application "Terminal" to do script "cd ~/path/to/backend && npm run start-dev"'
8
+
9
+ # Start frontend dev server in a new terminal
10
+ osascript -e 'tell application "Terminal" to do script "cd ~/path/to/frontend && npm run dev"'