Giter VIP home page Giter VIP logo

notes-from-nature-landing's Introduction

Notes from Nature landing page

Landing page for Notes from Nature.

Usage

Install the dependencies:

npm install

Test:

npm run test

Development mode with livereload:

npm start

When you are done, create a production-ready version of the JS bundle:

npm run build

Deploy to production:

npm run deploy-production

Adding an Expedition

  1. Obtain the following from Science Team:

  2. Related Panoptes workflow ID and name from production project #1558

  3. Expedition "snippet", aka rollover text

  4. Image (reduce size, rename, as needed)

  5. Info icon link

  6. Update notes-from-nature-landing GitHub repo

  7. Create new branch

  8. Add items from Step #1 to src/constants/expeditions.js (see other expeditions in file for reference)

  9. Add image to src/images/expeditions/

  10. Test locally

  11. Create workflow in preview project #1613 (Notes from Nature on Staging) with same workflow name as step 1.i.

  12. Activate (if not already) just created preview test workflow via Project Builder, Visibility section

  13. Check for expedition on localhost

  14. Test expedition Info icon link

  15. Deploy to production
    Note: recommend deploying to production from new branch, if problem can redeploy quickly from master, can add and merge new branch after successful deploy.

  16. From Terminal run npm run deploy-production

  17. Wait, deploy may take up to 15 minutes.

  18. Edit related workflow image-layout via API
    Note: Replace 1234 with expedition workflow ID.

  19. workflowVariable = zooAPI.type('workflows').get('1234')

  20. workflowVariable.update({'configuration.image_layout':['no-max-height']})

  21. workflowVariable.save()

  22. Once deploy complete, activate workflow, push branch up to GitHub

  23. Let Science Team member know they're clear to activate workflow, or activate yourself via Project Builder, Visibility section

  24. If you activate, or after Science Team member has, confirm expedition properly shows on notesfromnature.org

  25. Push new expedition branch up to GitHub

  26. Create Pull Request, Merge, delete Branch

  27. Pull latest master down locally, (optionally) delete now merged expedition branch locally

License

Copyright 2016 Zooniverse

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

notes-from-nature-landing's People

Contributors

mcbouslog avatar rafelafrance avatar granze avatar simensta avatar rogerhutchings avatar wgranger avatar mfirry avatar chiefgui avatar saschaishikawa avatar shaunanoordin avatar srallen avatar marten avatar caiovaccaro avatar koistya avatar parrish avatar jimmyhmiller avatar

Watchers

James Cloos avatar Becky Rother avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.