Code Monkey home page Code Monkey logo

watto-spaceships's Introduction

Watto's Spaceship Emporium

A simple AngularJS application with support for:

  • javascript
  • angularjs
  • gulp
  • sass
  • sourcemaps
  • browser-sync
  • autoprefixer
  • minification

Installation

Node

Make sure Node and npm are installed on your machine. Install it via the Node homepage or using homebrew on OSX:

brew install node

Installing Node will also install npm.

Clone the repository

git clone https://github.com/fidelhech/watto-spaceships.git && cd watto-spaceships

Install dependencies

npm install

File Structure

/
|-- css
|   |
|   |-- maps
|   |   |
|   |   |--styles.css.map
|   |-- styles.css
|   |
|-- img
|   |  
|-- js
|   |
|   |--maps
|   app.js
|   |
|-- src
|   |
|   |-- js
|   |   |
|   |   app.js
|   |   |
|   |-- sass
|   |   |
|   |   |-- styles.sass
|   |
|   |-- templates
|   |
|-- views
|   |
|   |--listings.html
|   |--single.html
|   |
|- gulpfile.js
|- index.html
|- package.json

All code is written in the src folder and then piped into css, js folders.

Gulp

Using the power of node streams gulp makes things simple like never before. Automate and enhance development's workflow.

Sass

This project encourages Sass use. Keep your Sass files modular inside src/sass (more info on partials here).

// styles.sass

Development

The first time you start this project, you will need to create your css, js folders in order for Browser-sync to successfully serve your project's files.

Run

gulp init

then

gulp dev

gulp init creates your css, js directories and gulp dev will start a Browser-sync server and will reload on all Sass and JS file changes.

Note: only run gulp init the first time you start a project. You will need to initialize it yourself.

Production

##Author

Fidel Hechavarria

watto-spaceships's People

Contributors

fidelhech avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.