Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sprblm/simsec-luminate
the code behind the 'On Trust and Transparency' report. Developed by https://objectively.is/
https://github.com/sprblm/simsec-luminate
Last synced: 3 months ago
JSON representation
the code behind the 'On Trust and Transparency' report. Developed by https://objectively.is/
- Host: GitHub
- URL: https://github.com/sprblm/simsec-luminate
- Owner: sprblm
- License: mit
- Created: 2019-05-03T04:16:45.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-14T19:32:24.000Z (over 1 year ago)
- Last Synced: 2024-05-23T09:22:32.436Z (6 months ago)
- Language: SCSS
- Homepage: https://ontrustandtransparency.report/
- Size: 4.1 MB
- Stars: 5
- Watchers: 5
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - sprblm/simsec-luminate - the code behind the 'On Trust and Transparency' report. Developed by https://objectively.is/ (others)
README
# On Trust & Transparency: Perspectives from Luminate’s portfolio
### Prerequisites
- [jekyll](https://jekyllrb.com/)#### Development
- Add your development url and baseurl in `_config.yml`.
- Fetch and update bundled gems by running `bundle install`
- Fetch and update npm packages by running `npm install`
- Run the server with `bundle exec jekyll serve`. Your server will run at [http://localhost:4000/DEV-BASEURL/](http://localhost:4000/DEV-BASEURL/)
- You can also use gulp for live reloading via browsersync. `gulp` will run at [http://localhost:3000](http://localhost:3000). The gulp build task will use the blank url and baseurl in `_config_dev.yml`.### Deployment
Add your production url and baseurl in `_config.yml`.We use [gulp-gh-pages](https://www.npmjs.com/package/gulp-gh-pages) to publish the site to [Github Pages](https://pages.github.com/). The deploy task is defined in `gulpfile.js`, which pushes the compiled _site folder to the gh-pages branch.
To deploy your site, run `gulp deploy`
#### Troubleshooting Deployment
The gulp-gh-pages plugin stores a cache of the repo automatically in a `.publish` folder, which throws this error when you try to deploy after deleting your gh-pages branch. **This error occurs when there is no remote gh-pages branch.**
```
Error in plugin 'gulp-gh-pages'
Message:
Command failed: git pull
Your configuration specifies to merge with the ref 'refs/heads/gh-pages'
from the remote, but no such ref was fetched.Details:
killed: false
code: 1
signal: null
cmd: git pull```
To fix this, delete the `.publish` folder in the root of the directory and then run `gulp deploy` again.
See:
https://github.com/shinnn/gulp-gh-pages/issues/109