Giter Club home page Giter Club logo

aframe-cli's People

Contributors

caseyyee avatar cvan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aframe-cli's Issues

aframe new my-model --template model-viewer

It seems that any template alias with "-" in the name doesn't work.

Just using --template model works though. Not sure why?

node index.js new my-3dmodel --template model-viewer
11:00:01 - log: Using template "aframevr-userland/aframe-model-viewer-template …
11:00:01 - log: Cloning git repo "git://github.com/aframevr-userland/aframe-model-viewer-template.git" to "/Users/casey/.brunch/skeletons/6ceaa9508869139f31c6a71eec0a73848ad6c483"...
/Users/casey/Developer/aframe-cli/index.js:3
  throw err;
  ^

Error: Git clone error: Error: Command failed: git clone git://github.com/aframevr-userland/aframe-model-viewer-template.git "/Users/casey/.brunch/skeletons/6ceaa9508869139f31c6a71eec0a73848ad6c483"
Cloning into '/Users/casey/.brunch/skeletons/6ceaa9508869139f31c6a71eec0a73848ad6c483'...
fatal: remote error:
  Repository not found.

    at exec.then.error (/Users/casey/Developer/aframe-cli/node_modules/init-skeleton/lib/index.js:67:13)

Easier way to work on templates?

Currently just creating a new project then working out of the project folder ie 'aframe new my-project' then editing files in 'aframe serve my-project'.

After changes I copy the working files back into the '/templates/default-template'.

Is there a better way to be doing this?

CLI pages on aframe.io

  • Description
  • Usage
  • Examples

@cvan I know you had these mocked up somewhere already. We should find a place for this to live.

add `aframe publish` command (for only GitHub Pages initially)

  • Later we can add support for IPFS, Neocities, now.sh, etc.
  • Surge is quite unreliable, so I wouldn't recommend supporting them.
  • Heroku requires a backend server, so I'd also not recommend it for static sites right now - that is, until there are A-Frame scene templates with backend code (e.g., for multi-user services and so forth).

default scene

default scene template:

  • add sound
  • add model
  • grid and axis helper

add `--ignore` flag to `aframe deploy` command

this is the current list of glob patterns to ignore:

        ignore: [
          '.git/**',
          'node_modules/**',
          'ipfs/**'
        ]

developers should be able to pass patterns as comma-separated glob patterns to ignore directories from being deployed, like so:

aframe deploy --ignore file1.txt, some_directory/**

cannot find module '../package.json'

after installing npm install -g aframe-cli and running, i get this:

aframe new test-project
module.js:472
    throw err;
    ^

Error: Cannot find module '../package.json'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/casey/.nvm/versions/node/v7.4.0/lib/node_modules/aframe-cli/index.js:19:13)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)

Document building technology

aframe-cli projects are built using brunch but this is not indicated. When starting from a template but evolving the project, it could be convenient to hack into the build process. Add a link to the Brunch homepage to explicitly highlight the building technology and provide a point of entry for those developers that want to customise the building process.

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.