Code Monkey home page Code Monkey logo

entry-offline's Introduction

Entry Logo

What is Entry-Offline ?

엔트리 오프라인은 엔트리 웹 사이트에 접속할 수 없는 오프라인 환경에서도 엔트리를 사용할 수 있도록 제작된 프로그램입니다.
엔트리 오프라인은 Electron 기반으로 만들어졌으며, entryjsentry-hw 프로젝트를 bower 를 통해 내장하고 있습니다.

Prerequisite

Node.js

Node.js 는 개발 전반을 위해 반드시 설치가 되어야하는 프레임워크입니다. 작업 전 가장 먼저 설치합니다.

https://nodejs.org

Yarn(optional)

엔트리 오프라인은 yarn 을 통해 의존성을 관리 중입니다. npm 을 사용해도 문제는 없습니다.

npm install --global yarn

Bower

엔트리 오프라인의 정적 라이브러리들은 bower 를 통해 관리 합니다.

npm install --global bower

Node-gyp

엔트리 오프라인에 포함된 엔트리 하드웨어는 node-serialport 를 사용합니다.
해당 라이브러리를 사용하기 위해서는 C++, python 빌드 환경과 node-gyp 라이브러리가 필요합니다.
빌드에 대한 자세한 사항은 node-gyp#installation 을 참고해 주세요.

먼저 빌드 환경을 구성해야 합니다.
윈도우의 경우, 관리자 권한 명령 프롬프트에서

npm install --global --production windows-build-tools

로 한번에 설치할 수 있습니다. Windows-Build-Tools 를 참고해 주세요.

npm install --global node-gyp

Structure

entry offline structure

대략적인 구조는 위와 같습니다. 자세한 디렉토리 구조는 Entry Docs 를 참고해주세요.

Usage

엔트리 오프라인은 main processrenderer process 가 전부 webpack build 되어있습니다.
그러므로 실제 실행시에는 빌드 후 실행해야 합니다.

# 웹팩 빌드
yarn watch
yarn webpack:dev #한번만 실행하려는 경우
# 일렉트론 실행
yarn start

Entry Offline Full Documentation

Entry Docs

Copyright and License

Entry-Offline Copyright(c) 2018 CONNECT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

entry-offline's People

Contributors

extracold1209 avatar borewit avatar

Watchers

James Cloos 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.