Fedora App <img alt="Fedora-Logo" src="https://pagure.io/Fedora-app/raw/master/f/Screenshots/FedoraLogo.png" />
<img alt="Screenshot" src="https://pagure.io/Fedora-app/raw/master/f/Screenshots/HomeScreen.png" />
The Fedora App provides a central location for Fedora users and contributors to stay updated on The Fedora Project. News updates, social posts, Ask Fedora, as well as articles from Fedora Magazine are all held under this app.
This is the source for the Fedora App.
Angular, Ionic 3, TypeScript, SCSS
Browse recent articles from Fedora Magazine
Share articles via Facebook, e-Mail, text, and more
Be taken directly to Fedora Magazine official site.
View updates of Fedora's Facebook news Feed
Also links to official Facebook page
Browse and ask questions about Fedora Linux to Ask Fedora
Share questions and comments.
Search, vote, and answer questions.
View events for Fedora from all different SIGs including QA, budget, classroom, etc.
Add event to device calendar directly from app.
View the date, time, and description of the event.
Download the installer for Node.js 6 or greater. You can also install NodeJS LTS from Fedora repos using dnf:
sudo dnf install nodejs
Install the ionic CLI globally:
npm install -g ionic
Install compilers and headers, required by native addons:
sudo dnf install python2
Note: Python 3 is
not supported. See the requirements here.
GCC, G++ and make
sudo dnf install gcc gcc-c++ make
sudo dnf install autoconf automake
sudo dnf install libpng-devel
Note: You may need to add “sudo” in front of any global commands to install the utilities. See npm documentation for more details. Building for Android
Install Java compilers:
sudo dnf install java-devel
Android SDK and the system packages documented here Install Gradle. Unfortunately, Fedora repos includes a rather old version of Gradle, so we recommend you to follow the instructions documented
here Configure your
ANDROID_HOME to point to Java and Android SDK installation directories respectively.
Clone this repository:
git clone https://pagure.io/Fedora-app.git.
npm install from the project root.
src/app/config.prod.ts. Replace the example API keys inside them with real API keys.
ionic serve in a terminal from the project root.
http://localhost:8100 to preview your app. Profit. :tada:
PWA - Run
npm run ionic:build --prod and then push the
www folder to your favorite hosting service
Android - Run
ionic cordova run android --prod
iOS - Run
ionic cordova run ios --prod
--prod will generate a debug build which is useful for Android/iOS remote debugging.
Using Ionic DevApp for rapid testing on mobile devices
Ionic DevApp is a free app that makes it easy to run your Ionic apps directly on an iOS or Android device. This avoids the cumbersome Native SDK installations.
Install Ionic DevApp on your phone.
Connect your phone and computer to the same network.
ionic serve -c from the project root.
Open Ionic DevApp and lanuch Fedora app from the list of available apps.
Note: Network policies and firewalls may interfere with Ionic DevApp, in that case try on a different network Running unit tests
npm test runs all unit tests defined in the app.
Start the ionic dev server with
npm run ionic:serve -b. Wait for the dev
server to start.
In a different terminal window start the tests with
npm run e2e
Amitosh Swain Mahapatra