Giter VIP home page Giter VIP logo

docker-vue's Introduction

docker-vue

docker-vue's People

Contributors

kmchord9 avatar

Watchers

James Cloos avatar  avatar

docker-vue's Issues

yarn start error

npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1588554678764-0.7983480303522339/node but npm is using /usr/local/bin/node itself. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.

[email protected] dev /code
webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

94% asset optimization

ERROR Failed to compile with 1 errors 1:11:20 AM

Module build failed: Error: No ESLint configuration found.
at Config.getLocalConfigHierarchy (/code/node_modules/eslint/lib/config.js:255:39)
at Config.getConfigHierarchy (/code/node_modules/eslint/lib/config.js:179:43)
at Config.getConfigVector (/code/node_modules/eslint/lib/config.js:286:21)
at Config.getConfig (/code/node_modules/eslint/lib/config.js:329:29)
at processText (/code/node_modules/eslint/lib/cli-engine.js:163:33)
at CLIEngine.executeOnText (/code/node_modules/eslint/lib/cli-engine.js:620:17)
at lint (/code/node_modules/eslint-loader/index.js:218:17)
at Object.module.exports (/code/node_modules/eslint-loader/index.js:213:21)

コンポーネントに温度やデバイス情報を持たせたい

現状のReactive.vueを用いると
親のコンポーネントから温度、デバイス情報の引数を渡すことでデータベースのログデータを表示することができる。
しかし、複数のログデータを表示しようとしたときにはコンポーネントごとの変数を親コンポーネントが保持する必要があるので問題となる。

Cannot read property 'refresh'

chartjsでx軸にtimeを利用するとrefleshのプロパティが要求される。
realtimeのプラグインのエラーなのでrealtimeを使用しないでx軸にtimeを利用する場合にはoptionにてrealtimeのプラグインを無効にする

nagix/chartjs-plugin-streaming#80

djangoのmysqlサポート要件

Version support¶
Django supports MySQL 5.6 and higher.

Django’s inspectdb feature uses the information_schema database, which contains detailed data on all database schemas.

Django expects the database to support Unicode (UTF-8 encoding) and delegates to it the task of enforcing transactions and referential integrity. It is important to be aware of the fact that the two latter ones aren’t actually enforced by MySQL when using the MyISAM storage engine, see the next section.

https://docs.djangoproject.com/en/3.0/ref/databases/#mysql-notes

データベースのポスト処理で一度にデータを送りたい

振動センサーを取り付けるにあたりサンプリングレートが高いので1データづつ送ると処理が非常に重くなる問題がある。
そのため、バッチ処理でPOST要求をしたいが、まとめてデータをポストする方法が不明で現時点では1データづつしか処理できない。

createdの後mounted

vueの動作としてcreatedを実行後にmountedが実行されるが
createdにてapiアクセスなどによる非同期処理により時間がかかると処理が終了する前にmountedが実行される。

そのためapi通信処理後にvueのインスタンス変数が更新されるためmounted時にはインスタンス変数はnullになってしまう。

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.