mint-metrics / mojito-website

Static website for Mojito
https://mojito.mx/
BSD 3-Clause "New" or "Revised" License
6 stars 7 forks source link

Quick start: JS delivery - quick install instructions #14

Closed kingo55 closed 4 years ago

kingo55 commented 4 years ago

We should have some clear and visible CLI commands for users to quickly pull and setup Mojito for a local project. e.g.:

Create your own Mojito container & first A/A test

# Download Mojito JS Delivery
git clone https://github.com/mint-metrics/mojito-js-delivery.git
cd mojito-js-delivery
npm install

# Install Gulp CLI 
sudo npm install --global gulp-cli

# Generate your first test & build your container
gulp scaffold
gulp scripts

Then the library will have been built and made available through ./dist/assets/js/mojito.js.