Project site | Server | Mobile gate | Node | Smart home Socket | Modbus device controller | Mobile app
Branch | Status |
---|---|
master | |
dev |
screenshots | screenshots |
---|---|
git clone https://github.com/e154/smart-home-dashboard $GOPATH/src/github.com/e154/smart-home-dashboard
cd $GOPATH/src/github.com/e154/smart-home-dashboard
go mod vendor
go build
editing configuration files
cp conf/config.dev.json conf/config.json
init project files
./bin/project.sh --init
run frontend development tools
./cd static_source && gulp
run server
./smart-home-dashboard
new module
ng g m config --route config --module=app
new component
ng g c auth/base --module=auth
new service
ng g service @core/services/window
brew search node
brew install node@8
brew link node@8
now add string at ~/.bash_profile
echo 'export PATH="/usr/local/opt/node@8/bin:$PATH"' >> ~/.bash_profile
install gulp and bower
node -v
#v8.16.1
npm -v
#6.4.1
./cd static_source && npm install
node install gulp -g
node install bower -g
It's all