Skip to content

MaySoMusician/geidai-ikoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geidai-ikoi (藝大オンライン憩い)

Deploy to Firebase

Prerequisites

You must install a git-lfs client before cloning this repository, that are used here to store large font files.

$ # some installing-git-lfs commands
$ git lfs install

Make sure the filters set up in your .gitconfig.

$ git config -l

...
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
...

If you forgot to install or initialize git-lfs before cloning, you can fetch Git LFS data by git lfs pull.

MEMO

$ git lfs track "assets/fonts/**/complete/**/*.woff"
$ git lfs track "assets/fonts/**/complete/**/*.woff2"

Installation

$ yarn install

Make sure patch-package has run to apply patches to:

  • @chakra-ui/nuxt

Patching is automatically done after installation via postinstall script. See the repo for the details.

Local development

# serve with hot reload at localhost:3000

# Uncomment the code below if you want to enable APPLICATION DEBUG
# APP_DEBUG=1
NOTION_DATABASE_CONFIG=#<configuration table id>
NOTION_DATABASE_NEWS=#<news table id>
NOTION_DATABASE_MEETLINKS=#<meetlinks table id>
yarn dev

Generate production code (SPA)

NOTION_DATABASE_CONFIG=#<configuration table id>
NOTION_DATABASE_NEWS=#<news table id>
NOTION_DATABASE_MEETLINKS=#<meetlinks table id>
yarn generate

Local server with production code

After generated the code:

yarn start

Or you can run yarn generate && yarn start at once.


For detailed explanation on how things work, check out Nuxt.js docs.


Deployment

See firebase-deploy.yml

To enable APPLICATION DEBUG (in-app logging), set APP_DEBUG=1


Dependency resolutions