0.0.29 • Published 9 years ago

pyre v0.0.29

Weekly downloads
105
License
-
Repository
github
Last release
9 years ago

#pyre A highly opinionated application template and build system for ember applications running on express hosted in node.

  • An Application Template
    • Using the pods
    • Supporting multiple runtime environments and local development
  • Gulp tasks for building our standard template
    • For web hosting and desktop applications
    • Use of file naming conventions to build output
    • Partial builds based on changes (when using --watch))

Then install all the dependencies using:

npm install

To build the application, simply run the default gulp task:

gulp

// OR with a watch

gulp --watch

// OR using local data

gulp --data

// OR with a watch and local data

gulp --watch --data

To run the application as a desktop application, run the following command:

gulp exe

TODO: document environment variables required NPM_AUTH_TOKEN NPM_EMAIL GITHUB_USER GITHUB_TOKEN GITHUB_OWNER GITHUB_PROJECT

In an application strucutre based on types with only two features (user and task), even this seems a bit complex to navitage. Now picture what this looks like with 10 or 20 different features.

In this case, as more and more features are added to our application, we are able to mentally focus our attention on just one feature (folder) at a time as all the code for that feature exists under one folder. Additionally, by looking at only the folder structure we can maintain a good mental model about what the application does.