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

[meteor-ui] Ability to download the last submitted archive #48

Open
valenting opened this issue Apr 6, 2014 · 13 comments
Open

[meteor-ui] Ability to download the last submitted archive #48

valenting opened this issue Apr 6, 2014 · 13 comments
Assignees

Comments

@valenting
Copy link
Contributor

No description provided.

@valenting
Copy link
Contributor Author

blog.nodejitsu.com/6-must-have-nodejs-modules/

@valenting
Copy link
Contributor Author

@valenting
Copy link
Contributor Author

@valenting
Copy link
Contributor Author

@valenting
Copy link
Contributor Author

@silviu-life
Copy link
Contributor

Ce zici de asta: https://atmospherejs.com/package/fileCollection
Si ma gandeam ca, pentru look, am putea sa cautam alt api. Dar asta mi se pare ok, trebuie doar testat ca face ce trebuie :))

@silviu-life
Copy link
Contributor

Sau asta: https://github.com/tobkle/meteor-jstree-example !! Poate fi bagat direct in meteor :D

@silviu-life
Copy link
Contributor

sau asta: https://github.com/powerconsulting/jquery.tabelizer ( dar trebuie jQuery integrat )

@valenting
Copy link
Contributor Author

Cred ca o sa folosim http://ace.c9.io/ - pentru display de cod (e folosit si de runnable)
https://github.com/ajaxorg/ace/

@valenting
Copy link
Contributor Author

  1. get repo path
    • read /etc/vmchecker/config.list (contains CourseID:course/path/config)
    • replace config with repo
    • archive path is assignment/user/current/archive.zip
    • sources path is assignment/user/current/git/archive
    • use http://nodejs.org/api/fs.html#fs_fs_readdirsync_path to read list of files
    • read file contents and add to a new Collection

@valenting
Copy link
Contributor Author

CollectionFS seems to be good for downloading the archive and/or files.
Read the docs at:
https://github.com/CollectionFS/Meteor-CollectionFS
Demo here (needs login):
http://collectionfs.meteor.com/#

@silviu-life
Copy link
Contributor

You now can download only your sources

@silviu-life
Copy link
Contributor

Starting working on project tree 💛

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

No branches or pull requests

2 participants