Skip to content

alejandrocuba/alejandrocuba-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

173 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Alejandro Cuba Ruiz's Website

Personal website for Alejandro Cuba Ruiz with links to his social media and projects.

Firebase Hosting Status PR Build Status Last Commit

Vite Pug HTML5 CSS3

📁 Project Structure

.
├── dist/               # Production build output
├── public/             # Static assets (images, favicon, etc.)
├── sources/            # Project source files
│   ├── css/            # CSS styles and components
│   ├── html/           # Pug components, layouts, and data
│   │   ├── _components/
│   │   ├── _data/      # JSON data for Pug templates
│   │   ├── _layout/    # HTML templates
│   │   └── index.pug   # Main entry point template
│   └── js/             # JavaScript files
├── package.json        # Dependencies and scripts
├── vite.config.js      # Vite configuration
└── firebase.json       # Firebase Hosting configuration

🛠️ Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd alejandrocuba
  2. Install dependencies:

    pnpm install

Development

Start the development server with Hot Module Replacement (HMR):

pnpm run dev

The site will be available at http://localhost:5173/.

Production Build

Generate the production-ready build in the dist/ directory:

pnpm run build

The build includes a postbuild script to ensure the correct entry point name (index.html).

Previewing the Build

Preview the production build locally:

pnpm run preview

🚀 Deployment

The project is configured for Firebase Hosting.

To deploy to production:

firebase login
firebase deploy

📄 License

This project is licensed under the GNU GENERAL PUBLIC LICENSE. See the LICENSE file for details.