Git Product home page Git Product logo

uidd-halo's Introduction

halo

The magic conch shell

Instructions

Setup

Make sure you have sqlite and ffmpeg installed

yarn
yarn db migration:run

cp .env.example .env
# edit .env file in your editor

Development

yarn dev

⚠ 請盡量在本地開發,因為 luffy 同時監視檔案的數量可能會塞滿而導致出錯

yarn dev 會監視檔案的更動,自動刷新瀏覽器
只是如果改的是 server 端相關的檔案,伺服器的 RAM 不知道為什麼會越用越多
所以改 server 相關的檔案 (server/) 的時候 可能需要不時手動重啟 yarn dev
改客戶端頁面 (pages/) 就正常
更新:現在 server 端必須手動重啟 才會更動

Production

yarn build
yarn start

Linting

yarn lint

在 git commit 之前,務必先 lint 確定沒有格式錯誤,否則 commit 會失敗
如果編輯器用的是 vscode 可以裝可以裝 eslint 套件,這樣存檔的時候會自動整理格式。

Directory structure

.
├── assets            可以 import 的 css, js, ...
├── components        可在不同頁面重複利用的 vue 物件
├── layouts
├── middleware
├── models            資料庫定義,migration
├── node_modules
├── pages             獨立頁面
├── patches
├── plugins
├── server            伺服器端邏輯
├── static            這會 mount 到網站的 /
├── store
└── test

Frameworks / technologies

uidd-halo's People

Contributors

guaneec avatar jackcheang5 avatar liu15498 avatar zhan860127 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.