/shakerite

The official app for the Shakerite, the award-winning Shaker Heights High School student news organization

Primary LanguageHTMLMozilla Public License 2.0MPL-2.0

The Shakerite

Download on the App Store Get it on Google Play

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.

Setting up the website

This app uses both standard WordPress features, and the proprietary features introduced by SNO. You'll need to install a few plugins:

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.

Developing

Prerequisites

Node 8.x+ is required for development.

Installing

After cloning, run

yarn

iOS build

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.

Android build

You will need Android SDK.

After the SDK is setup you can create an Android-specific build by executing:

yarn run build:android

License

This project is licensed under the MPL 2.0.