Code Monkey home page Code Monkey logo

what-conference-next's Introduction

What Conference Next

CircleCI

Curated list of technical conferences and events. Speakers support with call-for-paper dates (CFP). Find the next best conference for you to attend here.

Technology stack: Angular, MongoDB Stitch (for server-less backend), Firebase Hosting.

Development

Then

  • yarn test
  • yarn e2e

Keeping MongoDB Stitch dev and prod apps in sync

MongoDB Stitch Apps are exported to stitch/*/ directories, for dev and prod environments separately. Why separately? Seems like IDs (for stitch entities) between apps must be unique, so when overriding/importing the settings, we must have old values. We could just re-import data from another environments (with strategy=replace), but that replaces all entities, incl. auth-providers. Replacing auth-provider entity results with all auth and API tokens being invalidated. That's not good. So we keep it separate and prepare import/export as we need, diffing and syncing things semi-manually.

Here's quick recipe for migrating settings from DEV to PROD env:

  1. You have changes in in DEV Stitch App
  2. Have all changes in the files: yarn stitch:export:dev
  3. Verify it's all good there, that there's no accidental changes in roles, especially!
  4. Stage/commit your changes
  5. Compare/diff/select changes which you want in PROD environment.
    • you can select the two directories with stitch app configs using IDEs Compare Directories function.
    • select appropriate changes which you want to keep in sync with
    • don't override IDs during that process. They need to be kept unchanged (unless it's a new entity of course - then the import tool will generate a new ID anyway)
    • don't override production-specific settings: domain names, database names etc...
  6. Stage/commit your changes (so you can spot any changes the import might do)
  7. Re-create secret.json if needed (you know/kept the content somewhere safe, right?)
  8. stitch:deploy:prod to import your prepared changes to PROD.
  9. stitch:deploy:dev - just to check that you really have all changes kept in sync.

If you need to go the other way around, you have respective yarn commands for that too (e.g. yarn stitch:export:prod).


what-conference-next's People

Contributors

angular-cli avatar ashb100 avatar ryzy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

what-conference-next's Issues

realtime

Really impressed with what exists so far, good job.
Currently this system is not real time
Are there any plans for such implementation?

:sparkles: **Welcome to GitHub Projects**

We're so excited that you've decided to create a new project! Now that you're here, let's make sure you know how to get the most out of GitHub Projects.

  • Create a new project
  • Give your project a name
  • Hit the ? key to see available keyboard shortcuts
  • Add a new column
  • Drag and drop this card to the new column
  • Search for and add issues or PRs to your project
  • Manage automation on columns

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.