Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/middlebury/middsafe-online-advocate
The MiddSafe Online Advocate is a tool for peers in need of support and information around sexual assault, stalking, dating violence, domestic violence, and other personal violations.
https://github.com/middlebury/middsafe-online-advocate
ews jekyll static-site
Last synced: about 1 month ago
JSON representation
The MiddSafe Online Advocate is a tool for peers in need of support and information around sexual assault, stalking, dating violence, domestic violence, and other personal violations.
- Host: GitHub
- URL: https://github.com/middlebury/middsafe-online-advocate
- Owner: middlebury
- License: gpl-3.0
- Created: 2016-12-09T17:51:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-18T20:47:30.000Z (about 1 year ago)
- Last Synced: 2024-11-06T20:34:42.136Z (3 months ago)
- Topics: ews, jekyll, static-site
- Language: HTML
- Homepage: http://www.middlebury.edu/middsafe-online-advocate
- Size: 1.15 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MiddSafe Online Advocate
> The MiddSafe Online Advocate is a tool for peers in need of support and information around sexual assault, stalking, dating violence, domestic violence, and other personal violations. When you’re ready to get started, you will be asked a series of questions in order to find resources that might feel right to you.
## Requirements
- [Jekyll](http://jekyllrb.com/) `sudo gem install jekyll`
- [NodeJS](https://nodejs.org/en/) v18+## Quick start
```bash
# clone your repo then open terminal in its folder# install npm packages
npm install# start local dev server
npm start
```This will run browser sync server on `http://localhost:3000`. (Browser sync will automatically set it to a different port if you have something running on it. Check what gets output in terminal for the exact URL.)
## Deployment
```bash
npm run deploy
```1. This will compile jekyll, process and minify CSS and JS, and compress images
2. It will commit the contents of the `_site` directory to the `site` branch and push it to GitHub
3. IT has automated scripts to deploy the contents of the `site` branch on change. Your changes should now be live at its assigned domain.## Temporary Build Process
If the above instructions don't work, you can manually deploy the project with these steps:
```
git clone [email protected]:middlebury/middsafe-online-advocate.git
cd middsafe-online-advocate
npm cache clear --force
rm package-lock.json
npm install
npm run deploy
cp -r _site ../
git stash
git checkout --track -b site origin/site
cp -r ../_site/* .
git add -u
git commit -m "Deploy changes for #ISSUE"
git push
git checkout master
git stash pop
git reset --hard
```