Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/happytodev/emil
Emil is a static site generator based on Laravel
https://github.com/happytodev/emil
Last synced: 3 months ago
JSON representation
Emil is a static site generator based on Laravel
- Host: GitHub
- URL: https://github.com/happytodev/emil
- Owner: happytodev
- License: mit
- Created: 2024-03-09T12:32:29.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-20T22:36:37.000Z (5 months ago)
- Last Synced: 2024-08-22T00:08:11.837Z (5 months ago)
- Language: PHP
- Homepage:
- Size: 123 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Emil is a static site generator based on Laravel.
[![Latest Version on Packagist](https://img.shields.io/packagist/v/happytodev/emil.svg?style=flat-square)](https://packagist.org/packages/happytodev/emil)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/happytodev/emil/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/happytodev/emil/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/happytodev/emil/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/happytodev/emil/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/happytodev/emil.svg?style=flat-square)](https://packagist.org/packages/happytodev/emil)Emil is a static site generator made with Laravel. Use simply markdown files, Blade templating, TailwindCss to build your website.
## Support us
You can support Emil by [sponsoring it](https://github.com/sponsors/happytodev).
## Installation
### Prerequisites
Emil needs a fresh Laravel installation :
```bash
laravel new youramazingwebsite
```You can install the package via composer:
```bash
composer require happytodev/emil
```Launch the install :
```bash
php artisan emil:install
``````bash
npm install && npm run dev
```## Usage
You can build you content in the `content` folder.
You can modify the appearence of your website by modifying `resources/views` folder.
## Generate static content
Use this command :
```bash
php artisan emil:generate
```## Emil development server
You can see your modification in live by using the integrate Emil server.
```bash
php artisan emil:serve
```In the background, Emil launch Browser-Sync and watches all files in `content` and `resources/views` folders.
On every detected change, it generates in `_html` folder :
- css/main.css file
- all html filesand of course, refresh the view in the browser.
## Deployment
When your are satisfied, just push the content of `_html` folder on your server and voilà !
## Testing
To be documented
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Frédéric Blanc](https://github.com/happytodev)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.