Skip to content

Instantly share code, notes, and snippets.

@nothingismagick
Last active June 1, 2018 00:15
Show Gist options
  • Save nothingismagick/527588a147e39b51153958ecafbd3075 to your computer and use it in GitHub Desktop.
Save nothingismagick/527588a147e39b51153958ecafbd3075 to your computer and use it in GitHub Desktop.
Install a development environment for hacking on quasar and quasar cli
#!/usr/bin/env bash
##############################
# License: MIT
# Author: D.C. Thompson
# ://gist.githubusercontent.com/nothingismagick/527588a147e39b51153958ecafbd3075/raw
# @quasar/develop
#
# REQUIREMENTS
# git
# node 8.LTS
# yarn 1.6.0 (yarn 1.7.0 is broken ATM)
#
# EXAMPLE USAGE
# ./develop-quasar-inline.sh
#
# THIS IS THE FIRST SMOKE TEST
#
##############################
mkdir seed
cd seed
yarn init
# this makes sure you are globally on the latest quasar-cli
# is cleaner for bootstrapping the first new project
# safest would be to build from source
yarn add quasar-cli@latest
quasar --version #0.16.4 at the time of this writing
quasar init quasar-test-app
cd quasar-test-app
# yes, the following all takes place within quasar-test-app
# change the clone source to match your
git clone git@github.com:quasarframework/quasar-framework.git
cd quasar-framework
git checkout dev
yarn
cd ..
git clone git@github.com:quasarframework/quasar-cli.git
cd quasar-cli
git checkout dev
yarn
yarn add "vue-loader@link:./node_modules/vue-loader"
yarn add "quasar-framework@link:./quasar-framework"
framework=$(cat package.json |
cd ..
git clone git@github.com:quasarframework/quasar-testing.git
cd quasar-testing
git checkout dev
yarn
cd ..
yarn add "quasar-cli@link:./quasar-cli"
yarn add "quasar-testing@link:./quasar-testing"
echo ' ___ ____'
echo ' / _ \ _ _ __ _ ___ __ _ _ __| _ \ _____ __'
echo ' | | | | | | |/ _` / __|/ _` | `__| | | |/ _ \ \ / / '
echo ' | |_| | |_| | (_| \__ \ (_| | | | |_| | __/\ V / '
echo ' \__\_\\__,_|\__,_|___/\__,_|_| |____/ \___| \_/ '
echo ' ---------------------------------------------------'
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment