/vuecliwebsocket

sample project vue development with websocket

Primary LanguageVue

開発環境

  • Ubuntu16.04
  • python3.5.2
  • Vue CLI 3.2.2
  • Node 10.11.0
  • yarn 1.12.3

環境構築

python仮想環境作成

python3 -m venv env
source ./env/bin/activate

サーバ

git clone https://github.com/dbgso/vuecliwebsocket.git
cd vuecliwebsocket
# サーバ起動
pip install -r requirements.txt
python app.py

フロント

npmの場合

cd frontend
npm install
npm run start
cd frontend
yarn
yarn serve
  • サーバが8080ポートで起動
  • フロントの開発サーバが8081で起動する