Coder Social home page Coder Social logo

oneconcern's Introduction

1C PNG

Artificial Intelligence platform for Disasters

GitHub issues CircleCI aeonian status

Branch Status

master staging
CircleCI CircleCI

Local Build Setup

  • Clone this repository
git clone [email protected]:acidjazz/oneconcern.git
  • Install dependencies
yarn install
  • Generate routes and lever job listings
yarn cash
yarn dev -o

Deployment

Continuous Deployment is setup using the git-flow workflow with aeonian via Circle-CI

*** Edited 06/01/2018 by @zivagolee

oneconcern's People

Contributors

acidjazz avatar barrytsai avatar dependabot[bot] avatar haziz1c avatar zivagolee avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oneconcern's Issues

new configurable privacy page and disclaimer in footer

create a potential spot in the footer for a privacy disclaimer. with cta to a privacy page. we could have this disabled/blank for now, but in the future, we want to be easily enable and add the appropriate content.

QuoteMonitor.vue localization

#QuoteMonitor
.copy(v-in-viewport.once)
| One Concern currently monitors
// i-count-up.value(:startVal=0,:endVal="numbers.residential",:duration="2.5")
span.value {{ numbers.residential }}
| residential and
// i-count-up.value(:startVal=0,:endVal="numbers.commercial",:duration="2.5")
span.value {{ numbers.commercial }}
| commercial buildings. We monitor earthquakes for
// i-count-up.value(:startVal=0,:endVal="numbers.people/1000000",:duration="2.5",:options="{suffix: 'M'}")
span.value {{ numbers.people }}
| people.

fsevents and vue dependency warnings

yarn install v1.15.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@nuxtjs/moment > [email protected]" has unmet peer dependency "webpack@^1 || ^2 || ^3 || ^4".
warning " > [email protected]" has unmet peer dependency "[email protected]".
warning " > [email protected]" has unmet peer dependency "[email protected]".
warning " > [email protected]" has unmet peer dependency "webpack@>=2.0.0 <5.0.0"

menu needs to have the locale attribute in components/layout/NavBar.vue

the menu needs to have the locale attribute in components/layout/NavBar.vue
menu: {
product: { copy: this.$store.state.layoutCopy.menuProduct },
mission: { copy: this.$store.state.layoutCopy.menuMission },
about: { copy: this.$store.state.layoutCopy.menuAbout },
careers: { copy: this.$store.state.layoutCopy.menuCareers },
blog: { copy: this.$store.state.layoutCopy.menuBlog },
},

Product page video's

https://oneconcern.com/product/

There are currently 3 videos under "Why One Concern is Different".

  1. Remove two of them and keep only one of them for JPN website - see the attached screenshot as to which one to keep.
  2. Add one new Japanese video: Will provide the new one shortly.

2-what we do_video

DeprecationWarning: Buffer() is deprecated due to security and usability issues.

#!/bin/bash -eo pipefail
yarn install
yarn install v1.7.0
[1/4] Resolving packages...
[2/4] Fetching packages...
(node:70) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "[email protected]".
warning " > [email protected]" has unmet peer dependency "[email protected]".
warning " > [email protected]" has unmet peer dependency "webpack@>=2.0.0 <5.0.0".
[4/4] Building fresh packages...
Done in 19.82s.

Circleci - Error generating /error

Don't know if this is a real issue or not...

yarn run v1.7.0
$ yarn cash; yarn generate; node operations/aeonian.js staging
$ node operations/cache.js
$ nuxt generate
[14:32:35] [ERROR] Error generating /error

aeonian.js hardcoded domain names

    let previous = updateParams.Origins.Items[0].DomainName.replace('.s3-website-us-east-1.amazonaws.com', '')
    let current = domain.replace('.s3-website-us-east-1.amazonaws.com', '')

copy.footerEmail should use mailto protocol

components/layout/BottomBar.vue

footer.footer(:class="{solid: fixed.indexOf($route.name) === -1, white: $route.name === 'careers'}") .footer-left(v-html="$store.state.layoutCopy.footerCopyright")

.footer-right
a.footer-item.footer-item-contact(:href="copy.footerEmail") {{ this.$store.state.layoutCopy.ctaContact }}
a.footer-item(:href="copy.footerFacebook",target="_new")
span.fa.fa-facebook
a.footer-item(:href="copy.footerTwitter",target="_new")
span.fa.fa-twitter
a.footer-item(:href="copy.footerLinkedIn",target="_new")
span.fa.fa-linkedin
a.footer-item(:href="copy.footerAngel",target="_new")
span.fa.fa-angellist

localize the contact email and social media urls

in components/layout/BottomBar.vue

footer.footer(:class="{solid: fixed.indexOf($route.name) === -1, white: $route.name === 'careers'}")
.footer-left(v-html="$store.state.layoutCopy.footerCopyright")

.footer-right
a.footer-item.footer-item-contact(href="mailto:[email protected]") {{ this.$store.state.layoutCopy.ctaContact }}
a.footer-item(href="https://www.facebook.com/oneconcern",target="_new")
span.fa.fa-facebook
a.footer-item(href="https://twitter.com/oneconcerninc",target="_new")
span.fa.fa-twitter
a.footer-item(href="https://www.linkedin.com/company/oneconcern/",target="_new")
span.fa.fa-linkedin
a.footer-item(href="https://angel.co/one-concern",target="_new")
span.fa.fa-angellist

Circleci cache error - requires manual rebuild

Skipping cache generation, cache already exists for key: v1-dependencies-arch1-linux-amd64-6_85-staging-_klzDYpH9SNNbFBY6zlD+AXFojvuUmoOrDrhlAM1xl0=
Found one created at 2019-03-06 02:05:31 +0000 UTC

...

yarn run v1.7.0
$ yarn cash; yarn generate; node operations/aeonian.js staging
$ node operations/cache.js
$ nuxt generate
/home/circleci/repo/node_modules/vue-server-renderer/index.js:8
throw new Error(
^

Error:

Vue packages version mismatch:

This may cause things to work incorrectly. Make sure to use the same version for both.

at Object.<anonymous> (/home/circleci/repo/node_modules/vue-server-renderer/index.js:8:9)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/home/circleci/repo/node_modules/nuxt/lib/core/renderer.js:8:34)
at Module._compile (internal/modules/cjs/loader.js:689:30)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

  • Loading æonian
    ✔ Loading æonian
  • Parsing configuration
    ✔ Parsing configuration
  • Creating bucket: 1c-f2d989d-staging
    ✔ Creating bucket: 1c-f2d989d-staging
  • 00.00% Uploading to bucket: 1c-f2d989d-staging
    ✖ unable to sync:
    Done in 2.30s.

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.