Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.25 KB

README.md

File metadata and controls

52 lines (38 loc) · 1.25 KB

Hammurabi-Vue

Screen Art Studios take on the classic Hammurabi game built in Quick Venom. www.quickvenom.org

Build Setup

# change directory (cd) into the root directory then into Hammurabi-Vue
# (copy path from atom by right clicking a folder and clicking "copy full path")
$ cd /
$ cd (paste path here *command + v on mac* *right click on windows*)

# install quasar *must have admin permissions*
$ npm install -g quasar-cli

# install dependencies
$ npm install

# serve with hot reload at localhost:8080
$ quasar dev

# build for production with minification *must run before cordova can build*
$ quasar build

# lint code
$ quasar lint

Cordova Setup

# navigate to cordova folder
$ cd cordova

# install cordova *must have admin permissions*
$ npm install -g cordova

# Add Platforms
$ cordova platform add ios
$ cordova platform add android

# Build version *must quasar build first*
$ cordova build android
$ cordova build ios

# Emulate to platform *must quasar build first*
$ cordova emulate ios
$ cordova emulate android

# Run on connected device or emulator *must sign in to device and give computer permissions, as well android must be in developer mode*
$ cordova run android
$ cordova run ios