zeyh / course-scheduler

see deployed version here: https://course-scheduler-35cf5.web.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS Course Scheduler

a few notes for set-up

getting started for firebase

$ npm install expo // in project folder level
$ expo start //test
//hosting
$ npm install -g firebase-tools
$ expo install firebase
$ npx expo-optimize
$ expo build:web
//test  
$ npx serve web-build //open http://localhost:5000
$ firebase serve --only hosting

add the following in package.json

"scripts": {
  /* ... */
  "predeploy": "expo build:web",
  "deploy-hosting": "npm run predeploy && firebase deploy --only hosting",
}

in firebase.json

//redirecting to the App.js rather than the default public/index.html
"hosting": {
    "public": "web-build",
}

git commands

$ git add .
$ git commit -m "msg"
$ (git remote add origin git@github.com:zeyh/Course-Scheduler.git)
$ git remote -v //verify the remote URL

About

see deployed version here: https://course-scheduler-35cf5.web.app/


Languages

Language:JavaScript 78.6%Language:HTML 21.4%