Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/KonnorRogers/bridgetown-automation-turbolinks
An automation for adding turbolinks to Bridgetown
https://github.com/KonnorRogers/bridgetown-automation-turbolinks
bridgetown bridgetown-automation turbolinks
Last synced: 2 days ago
JSON representation
An automation for adding turbolinks to Bridgetown
- Host: GitHub
- URL: https://github.com/KonnorRogers/bridgetown-automation-turbolinks
- Owner: KonnorRogers
- License: mit
- Archived: true
- Created: 2020-06-18T13:23:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-30T11:16:29.000Z (over 3 years ago)
- Last Synced: 2024-05-18T23:03:52.780Z (6 months ago)
- Topics: bridgetown, bridgetown-automation, turbolinks
- Language: Ruby
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
![build](https://github.com/ParamagicDev/bridgetown-automation-turbolinks/workflows/build/badge.svg)
# Purpose
To provide an easy way for Bridgetown users to add Turbolinks to their project.
## Prerequisites
- Ruby >= 2.5
- Bridgetown ~> 0.15.0```bash
bridgetown -v
# => bridgetown 0.15.0 "Overlook"
```This project requires the new `apply` command introduced in Bridgetown
`0.15.0`## Usage
### New project
```bash
bridgetown new --apply="https://github.com/ParamagicDev/bridgetown-automation-turbolinks"
```### Existing Project
```bash
[bundle exec] bridgetown apply https://github.com/ParamagicDev/bridgetown-automation-turbolinks
```## Getting Started
There should be nothing to do on your end, it should "just work"
## Testing the "apply" command locally
Right now there is one big integration test which simply
checks that the files were created for Turbolinks in a new bridgetown project.In order for the tests to pass, you must first push the branch you're working on and then
wait for Github to update the raw file so the remote automation test will pass```bash
git clone
https://github.com/ParamagicDev/bridgetown-automation-turbolinks/
cd bridgetown-automation-turbolinks
bundle install
bundle exec rake test
```### Testing with Docker
```bash
git clone
https://github.com/ParamagicDev/bridgetown-automation-turbolinks
cd bridgetown-automation-turbolinks
docker-compose up --build
```