Advertisement
Guest User

Untitled

a guest
Mar 26th, 2015
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. <kennric> yes, right now, there are only data entry and admin roles
  2. <kennric> only the owner of that instance can grant rights, it belongs to Oregon Sea Grant
  3. <ragnarock> I think the api can hav an oauth or API key format ... it can be simply implemented too https://github.com/evonove/django-oauth-toolkit
  4. <ragnarock> Later we can may be grant a read only access to all the users ?
  5. <kennric> the api needs to be accessible from the mobile app, so oauth might be tricky
  6. <kennric> there isn't anything for all users to log in for - the PAI is open, so you can see all the data via the API, btu the web app itself is just for data entry, which is only of interest the the organization running that instance
  7. <ragnarock> OK but I meant may b we can do this for the gsoc, keep a seperate instance or repo ... cuz later it wud not just apply to mobile app but every one can use the data later to create their own apps
  8. <kennric> the software is open and free, anyone can install it - the data belongs to whoever installs and runs a particular instance of the software. We can make a staging instance somewhere for GSOC, but it should be pretty easy to run your own instance as well
  9. <ragnarock> where's the data snapshot ?
  10. <ragnarock> any link ??
  11. <kennric> we don't have a data snapshot, only test fixtures, which are in the test directory
  12. <kennric> the test fixtures contain a few of every kind of record, but you will have to do a little work to load them permanently into the database
  13. <kennric> I can talk to our devs about maybe packaging that up to make it easy to seed the application
  14. <ragnarock> ahh ! OK .. cool ... I once worked for this org they started publishing their data snapshot at an early stage http://inside.openhatch.org/snapshots/ ,,, it's really simple all v need to do is create a url n keep them in a seperate folder to save on the server
  15. <kennric> in this case there really isn't any data to share - whoever uses the software adds their own, so we only use it for testing
  16. <ragnarock> doesn't matter .. just loaddata n keep it on the dropbox n share ... this will give a track of the progress ..
  17. <ragnarock> anyways I m just suggesting .. it's ur wish offcourse
  18. <ragnarock> :)
  19. <kennric> it is an open source project, you are welcome to build a data set and create a pull request :)
  20. <kennric> we will work on setting up some seed data though, it is very useful for developers
  21. <ragnarock> OK thanks : ) I m working on that .. I will write a tool that use another api to quickly get some data ... after .. just give me some more hours ... vl get it done by tomorrow ..
  22. <ragnarock> http://whats-fresh.readthedocs.org/en/latest/planning/draft_model.html these are all the models right ?
  23. <kennric> yes, but we haven't had a chance to audit that recently, so double-check with the actual code
  24. <kennric> if you build the docs, I believe it will generate models docs from the code directly
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement