gowthamravi

Swift-Powered Static Website with Ignite

Overview

This project is a Swift-based static website powered by the Ignite framework. Ignite enables developers to build ultra-fast, customizable websites entirely in Swift, allowing iOS developers to leverage their existing skills in the web development space.

Features

Table of Contents

  1. Getting Started
  2. Project Structure
  3. Customization
  4. Building and Previewing
  5. Deployment
  6. Contributing
  7. License

Getting Started

Prerequisites

Ensure you have the following installed on your machine:

Installation

  1. Clone this repository:

     git clone https://github.com/yourusername/your-repo-name.git
     cd your-repo-name
    
  2. Install Ignite:

     git clone https://github.com/twostraws/Ignite
     cd Ignite
     make
    
  3. Navigate back to the root of the project and install any dependencies using Swift Package Manager:

     swift build
    

Project Structure

Customization

To customize your website, modify the HTML templates in the Includes/ folder. You can also add CSS files in Assets/ to style your site further.

For example, you can update the header of your site by editing:

<header>
  <h1></h1>
  <nav>...</nav>
</header>

Building and Previewing

During development, use the following command to build and preview your website locally:

make preview

This will start a local development server where you can view your changes in real-time at http://localhost:8080.

Deployment

Once you’re ready to go live, you can deploy the static files to platforms such as GitHub Pages or Netlify. To generate the final build, run:

make build

This will generate the static files in the Build/ directory, which you can upload to your preferred hosting provider.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests for bug fixes or new features.

  1. Fork this repository.
  2. Create a new branch: git checkout -b feature-name.
  3. Make your changes and commit them: git commit -m 'Add feature-name'.
  4. Push to the branch: git push origin feature-name.
  5. Submit a pull request.

Sample Screenshots

image image image

License

This project is licensed under the MIT License. See the LICENSE file for more details.


This README should provide a comprehensive guide for anyone looking to use, customize, or contribute to your Swift-based website project. Feel free to adjust the details to fit your specific project setup!