A modern, interactive website for the Universal Object References (UOR) Framework, showcasing mathematical concepts, theorems, and applications across various domains.
- Overview
- Getting Started
- Development Workflow
- Deployment
- Contributing
- Documentation Guidelines
- Technical Details
- License
The Prime Framework website presents the Universal Object References (UOR) theory, which aims to unify mathematics, physics, AI, and computation. The site features interactive visualizations, explanations at various complexity levels, and explorations of applications across different domains.
- Git for version control
- One of the following setups:
- VS Code with Remote - Containers extension (recommended)
- Docker Desktop (for dev container usage)
- Node.js (v16 or later) and npm (for local development)
This method provides a consistent development environment for all contributors, regardless of their local setup.
-
Install Required Software:
- Install VS Code
- Install Docker Desktop
- Install the Remote - Containers extension in VS Code
-
Clone the Repository:
git clone https://github.com/yourusername/prime-website.git cd prime-website
-
Open in VS Code:
code .
-
Start Dev Container:
-
If you don't have the Dev Containers extension installed yet:
- Click on the Extensions icon in the left sidebar (or press
Ctrl+Shift+X
) - Search for "Remote - Containers"
- Click "Install" on the "Remote - Containers" extension by Microsoft
- You may need to reload VS Code after installation
- Click on the Extensions icon in the left sidebar (or press
-
To open the project in a container:
- When VS Code prompts to "Reopen in Container", click "Reopen in Container"
- Alternatively, click on the green icon in the bottom-left corner of VS Code, or press
F1
- Type "Remote-Containers: Reopen in Container" and press Enter
- The first launch may take a few minutes as Docker builds the container
-
If you need to rebuild the container at any time:
- Press
F1
to open the command palette - Type "Remote-Containers: Rebuild Container" and press Enter
- This is useful if you modify the devcontainer configuration or need a fresh environment
- Press
-
-
You're Ready! The container includes all necessary dependencies and tools.
If you prefer not to use containers or are unable to:
-
Install Node.js and npm:
- Download and install from nodejs.org (v16 or later recommended)
-
Clone the Repository:
git clone https://github.com/yourusername/prime-website.git cd prime-website
-
Install Dependencies:
npm install
Start the development server:
npm start
This will:
- Start a local server at http://localhost:3000
- Serve files from the
src
directory - Automatically reload the page when you make changes
- File Structure: All source files are in the
src
directory - HTML: Edit
src/index.html
or create new pages insrc/pages/
- CSS: Modify styles in
src/assets/css/
- JavaScript: Update scripts in
src/assets/javascript/
- Assets: Add images, icons, etc. to their respective folders in
src/assets/
prime-website/
βββ src/ # Source files (edit these)
β βββ assets/ # Static assets
β β βββ css/ # Stylesheets
β β βββ javascript/ # JavaScript files
β β βββ images/ # Images
β β βββ icons/ # Icons and SVGs
β βββ index.html # Main HTML file
β βββ pages/ # Additional pages
βββ dist/ # Built files (generated, don't edit)
βββ .github/ # GitHub configuration
β βββ workflows/ # GitHub Actions workflows
βββ .devcontainer/ # Dev container configuration
βββ .vscode/ # VS Code settings
βββ package.json # Project configuration
The website is automatically deployed to GitHub Pages when changes are pushed to the main
branch. The deployment process:
- Checks out the code
- Sets up Node.js
- Installs dependencies
- Builds the site (copies files from
src
todist
) - Deploys to GitHub Pages
To manually trigger a deployment, go to the Actions tab in the GitHub repository and run the "Deploy to GitHub Pages" workflow.
-
Create a Branch:
git checkout -b feature/your-feature-name
-
Make Changes: Edit files in the
src
directory -
Test Locally:
npm start
-
Commit Changes:
git add . git commit -m "Add your meaningful commit message"
-
Push to GitHub:
git push origin feature/your-feature-name
-
Create a Pull Request: Go to the repository on GitHub and create a pull request
When adding content to the website:
- Mathematical Content: Ensure accuracy and provide explanations at multiple complexity levels
- Interactive Elements: Include clear instructions for user interaction
- Images and Diagrams: Use descriptive alt text for accessibility
- Code Comments: Document complex JavaScript functions, especially for visualizations
- Framework: Pure HTML, CSS, and JavaScript
- Libraries:
- Bootstrap 5.3.3 for responsive layout
- Three.js for 3D visualizations
- jQuery for DOM manipulation
- Styling: Custom CSS with Bootstrap components
- Visualizations: Custom Three.js implementations for galaxy effects