diff --git a/README.md b/README.md index a18c60f..6641687 100644 --- a/README.md +++ b/README.md @@ -82,16 +82,20 @@ The Feed-Player interface that is both visually appealing and intuitive to use. ## Getting Started -Fork our two repos (localsite and feed) and clone into your webroot +To contribute, fork our [four primary repos](https://github.com/ModelEarth?tab=repositories) and clone into your webroot: git clone https://github.com/[your account]/localsite.git git clone https://github.com/[your account]/feed.git + git clone https://github.com/[your account]/swiper.git + git clone https://github.com/[your account]/home.git ### Folders in your website root ```ini website +├─ home ├─ localsite +├─ swiper └─ feed ├─ README.md ├─ dist @@ -105,16 +109,10 @@ website ### Start a web server in your webroot ``` -python3 -m venv env -source env/bin/activate python -m http.server 8887 ``` -On Windows, the second line is: - - env\Scripts\activate - -### The primary pages will be visible here: +### The primary FeedPlayer pages will be visible here: [Feed Player - localhost:8887/feed](http://localhost:8887/feed/) [Feed View - localhost:8887/feed/view](http://localhost:8887/feed/view/) @@ -160,7 +158,7 @@ yarn install --immutable --immutable-cache --check-cache The command above requires yarn 2 and prevents third-parties from altering the checked-in packages before submitting them. [Source](https://stackoverflow.com/questions/58482655/what-is-the-closest-to-npm-ci-in-yarn). It's the equivalent to `npm ci` to avoid updating package-lock.json, which occurs with `npm install`. -### 3. Start the development server +### 3. Start a development server (optional) diff --git a/dist/index.html b/dist/index.html index 708188e..e2f7c23 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,7 +1,7 @@ - + @@ -21,7 +21,6 @@ -
diff --git a/index.html b/index.html index f3425e4..497e4ad 100644 --- a/index.html +++ b/index.html @@ -18,6 +18,8 @@ +
Broken by build. Manually update the index .js and .css files to include the newly built ID values.
diff --git a/package.json b/package.json index 704334c..e7a2f77 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,10 @@ { - "name": "video-player", - "private": true, - "version": "0.0.0", + "name": "feed-player", + "version": "0.0.1", "type": "module", "scripts": { "dev": "vite", - "build": "vite build --config vite.config.js && node postBuild.js", + "build": "vite build", "lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" }, @@ -29,8 +28,6 @@ "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.3", - "vite": "^5.4.2", - "vite-plugin-copy": "^0.1.6", - "vite-plugin-static-copy": "^1.0.6" + "vite": "^5.4.2" } } diff --git a/vite.config.js b/vite.config.js index 8ea4475..4aa7dff 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,13 +1,11 @@ import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; -import copyAssets from './vite-plugin-copy'; import fs from 'fs'; import path from 'path'; export default defineConfig({ plugins: [ react(), - copyAssets(), renameHtml() // Add the plugin here ], base: '', // Otherwise '/assets' is the default