Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

2. New Project

Timothy Voice edited this page Aug 29, 2016 · 2 revisions

####Command

meteor-maker project <name>

Will scaffold a new project in the current root directory. The application structure will look like this:

imports/
  startup/
    client/
      index.js                       # import client startup through a single index entry point
      routes.js                      # set up all routes in the app
      useraccounts-configuration.js  # configure login templates
    server/
      fixtures.js                    # fill the DB with example data on startup
      index.js                       # import server startup through a single index entry point
  api/                               # api methods, collections and publications live here
  ui/                                # ui components, layouts and pages live here
client/
  main.js                            # client entry point, imports all client code
server/
  main.js                            # server entry point, imports all server code

Run npm install

####Prompts

#####Confirm: FlowRouter Will install FlowRouter (recommended router) and setup your imports/startup/client/routes.js file

#####Confirm: Foundation for Sites Will install and setup the Foundation for Sites framework using the atmosphere package

#####Confirm: Sass Structure Will setup a good file structure for your sass files and install the appropriate package for compiling to css

Clone this wiki locally