skolplattformen-backup/apps/skolplattformen-app
Lee 53ecbfd4f5 refactor: updated READMEs
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
2023-11-07 13:38:54 +01:00
..
.bundle refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
__mocks__ refactor: 💡 Switched to skolplattformen-app instead 2021-12-01 11:13:50 +01:00
android test deploy 2023-11-03 13:53:18 +01:00
assets fix: 🐛 Add better logo image for Freja eID 2022-04-24 18:20:12 +02:00
components removed package and skipped failing test 2023-11-03 15:38:07 +01:00
context chore(cleaned up code) 2023-11-02 10:22:41 +01:00
data refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
design feat: 🎸 bump to RN 0.66 + upgrade dependencies (#521) 2021-12-16 08:22:20 +01:00
docs refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
hooks chore(cleaned up code) 2023-11-02 10:22:41 +01:00
ios refactor: added app images 2023-11-03 13:38:02 +01:00
libs removed package and skipped failing test 2023-11-03 15:38:07 +01:00
services chore(cleaned up code) 2023-11-02 10:22:41 +01:00
styles refactor: 💡 Switched to skolplattformen-app instead 2021-12-01 11:13:50 +01:00
translations Translated using Weblate (Japanese) 2022-12-24 23:48:04 +01:00
ui refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
utils chore(cleaned up code) 2023-11-02 10:22:41 +01:00
.eslintrc.js refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
.gitignore refactor(fixing fastlane) 2023-11-01 16:08:04 +01:00
.prettierrc refactor: 💡 Switched to skolplattformen-app instead 2021-12-01 11:13:50 +01:00
.watchmanconfig refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
App.tsx removed package and skipped failing test 2023-11-03 15:38:07 +01:00
Gemfile refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
Gemfile.lock refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
README.md refactor: updated READMEs 2023-11-07 13:38:54 +01:00
app.json refactor: 💡 Switched to skolplattformen-app instead 2021-12-01 11:13:50 +01:00
babel.config.js refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
index.js refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
jest.config.js chore(cleaned up code) 2023-11-02 10:22:41 +01:00
library-extractor.js refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
metro.config.js refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
package-lock.json added missing module 2023-11-07 13:34:19 +01:00
package.json added missing module 2023-11-07 13:34:19 +01:00
skolplattformen-logga-original.png refactor: added app images 2023-11-03 13:38:02 +01:00
test-setup.ts refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
tsconfig.json refactor(react 18/RN 0.72 update) 2023-11-01 10:43:26 +01:00
types.d.ts refactor: 💡 Switched to skolplattformen-app instead 2021-12-01 11:13:50 +01:00
yarn.lock added missing module 2023-11-07 13:34:19 +01:00

README.md

Öppna skolplattformen App

This is the app for Öppna skolplattformen.

Getting started

Have a look at the overall readme for general instructions on getting started.

Prerequisites

We use yarn as our package manager. To install it, run sudo npm install -g yarn. All the commands described here should be run from the apps/skolplattformen-app directory.

iOS

To get started using the iOS simulator start by installing the JavaScript dependencies using

$ yarn

Next you need to install the Cocoapods dependencies for the iOS project

$ cd ios
$ pod setup
$ pod install

You should now be setup to run the app in the Simulator. Run the ios command in the root of the app.

$ yarn ios

If you receive an error regarding not being able to find the app scheme:

  • Open the app in xcode
  • Product -> scheme -> manage scheme
  • App should be ticked with the value of 'app project'
  • Change 'app project' to something else from its drop down and back again
  • Close

Then run yarn ios again

Android

Android development requires that you have Android Studio and relevant build tools installed.

Start by installing JavaScript dependencies using

$ yarn

Before running the app you should start an emulator from Android Studio. Then run the following command to start the build

$ yarn android

Running tests

$ yarn test