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

Latest commit

 

History

History
36 lines (30 loc) · 1.06 KB

File metadata and controls

36 lines (30 loc) · 1.06 KB

Creating a new application

GlueStick attempts to handle as much of the non-application specific code as it can for you. However, there is still some boilerplate code and a common folder structure that you will need in order to build a GlueStick app. To make this simple, GlueStick provides the “new” command.

Time to create a new project: to create a new project, run the following command:

gluestick new ExampleApp

This is will create a folder named ExampleApp in the folder on which you just ran the command. GlueStick sets up the folder structure and installs all of the node_modules that you will need for the base application. Here is an example of what you can expect to see in the newly created ExampleApp folder:

assets/
  - css
    - normalize.css
Index.js
package.json
src/
    - actions/
    - components/
        - Home.js
        - MasterLayout.js
    - config/
        - application.js
        - routes.js
    - containers/
        - HomeApp.js
    - reducers/
        - index.js
test/
    - components/
        - Home.test.js