The official app for the Shakerite, the award-winning Shaker Heights High School student news organization! This app is built using Capacitor, Ionic, and Vue.js 2 via Ionic-Vue. Specifically, this app interacts with our SNO Sites website and uses the WordPress API to fetch content.
This app uses both standard WordPress features, and the proprietary features introduced by SNO. You'll need to install a few plugins:
- WP REST API Cache Remover (Click "Clone or download" and upload it manually): removes 2 day cache on the API
- WP REST Filter: allows searching posts by SNO author
- REST API Enabler: allows getting SNO-specific data, such as authors and subtitles
Now, configure REST API Enabler by going to its page in Settings.
Under "Post Types", make sure that "Media", "Pages", "Stories", and
"Staff Profiles" are checked. They should all have their default name in
the textbox (media
, pages
, posts
, staff-profile
). Now, switch to
"Post Meta", and check jobtitle
, name
, schoolyear
, sno_deck
,
staffposition
, and writer
.
Node 8.x+ is required for development.
After cloning, run
yarn
Make sure you have cocoapods
on your Mac OS. You can install
cocoapods
with gem
sudo gem install cocoapods
You can create an iOS-specific build by executing:
yarn run build:ios
To deploy, run sudo bundle install
and then cd
to ios/app
. Then,
run bundle exec fastlane release
.
You will need Android SDK.
After the SDK is setup you can create an Android-specific build by executing:
yarn run build:android
This project is licensed under the MPL 2.0.