Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation #343

Closed
12 of 21 tasks
vankasteelj opened this issue Apr 2, 2016 · 6 comments
Closed
12 of 21 tasks

Update documentation #343

vankasteelj opened this issue Apr 2, 2016 · 6 comments

Comments

@vankasteelj
Copy link
Member

vankasteelj commented Apr 2, 2016

  • Contributing
    • Report bugs
    • Suggest enhancements
    • Submit PR
    • Translate
    • Contributor license agreement
    • links to code standards/git workflow/building-working
  • Github
    • Issue template
    • PR template
  • Code standards
    • Javascript
    • HTML
    • CSS
    • providers
    • streamers
  • Git workflow
    • Commit messages
    • Clean up history
    • Tests
  • Building/Working on butter
    • compatible platforms
    • requirements (node, npm, git)
    • instructions platform-specific (if needed)
    • what commands?
    • video tutorial (for windows users, not used to source code things)

see docs/rewrite branch

@vankasteelj
Copy link
Member Author

Building

Compatible platforms:

Windows:

  • 7, 8, 8.1, 10 (all flavors, x86 only (ie: no arm, also known as mobile), 32bits or 64bits)

Linux:

  • Ubuntu >= 14.04 (what about 12.04? it might work with the LD_LIBRARY_PATH)
  • Mint/Debian/Elementary?
  • Fedora?
  • Arch?
  • Suse?
  • CentOS?

OSX:

  • = 10.9, only 64bits ?!? I don't know at all

Requirements

  • NodeJS - https://nodejs.org
    • = 4

  • NPM (make sure to install it with NodeJS)
    • = 3.0.0 (3 because we need to flatten the huge dep list)

  • ~2G of free space
  • git - win | deb: apt-get install git (note:win10 will have bash soon)

To build Windows Installer files:

Platform-specific instructions

blank

what commands?

npm install -g gulp-cli
npm install
gulp build
gulp run

@vankasteelj vankasteelj changed the title update documentation on "how to build butter" update documentation Apr 6, 2016
@vankasteelj vankasteelj changed the title update documentation Update documentation Apr 9, 2016
@vankasteelj
Copy link
Member Author

Butter Project trello board

Link should be added somewhere.

@vankasteelj
Copy link
Member Author

JS code standards:

Should we indicate things like:

if you need to loop, prefer for (var i = 0, len = arr.length; i < len; i++) {} over other loops, like for (var i in arr) or arr.forEach()

?

@xaiki
Copy link
Member

xaiki commented Apr 11, 2016

we prefer arr.forEach() and _.map()

@vankasteelj
Copy link
Member Author

forEach is much slower, 100ms slower on 10.000 iterations, going exponentially slower as the iterations go up

@xaiki
Copy link
Member

xaiki commented Apr 11, 2016

but is much clearer to read, don''t need to optimize unless it's a hotpath.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants