Coder Social home page Coder Social logo

redis-developer / redis-developer.github.io Goto Github PK

View Code? Open in Web Editor NEW
47.0 7.0 142.0 793.44 MB

The Home of Redis Developers

Home Page: https://developer.redis.com

JavaScript 13.73% CSS 1.65% SCSS 19.11% HTML 0.02% TypeScript 65.49%
redis redistimeseries redisgraph redis-server redis-client redis-cache redis-cache-store redis-cluster redisinsight terraform

redis-developer.github.io's Issues

Adding Best Practices section

Adding the best practices section would be great -

Best Practices / Guides  
  Security
  High-Availability
  Fast Ingestion
  Cloud Migration
  Import Data
  Data Modeling

Python example code

We highly recommend showing a connection pool for every language as it solves a large portion of production issues.

Update Docusaurus Config

In docusaurus.config.js, please update these two items as the following:
title: 'Redis Developer Hub', tagline: 'The Home of Redis Developers',

Update pages Index File

In /src/pages/index.js, please update the following:
title={Welcome to the ${siteConfig.title} by Redis Labs} description="Learn all the best practices to get up and running with Redis in no time. Get started and discover the power of Redis, whether on your local machines or in the cloud.">

Include Google Tag Manager (GTM)

## Add just before closing of head tag
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXXXX');</script>
<!-- End Google Tag Manager -->
## Add just after opening of body tag
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXXXX"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

Add RedisInsight specific topics

Add RedisInsight specific topics such as:

  • Memory analysis
  • Profiler
  • Automatic DB discovery
  • Cluster Management
  • Slowlog Configuration

Open External Links in new tab

By web convention, any link that is external (different nav, other domain, files) should open in a new tab.

Please add this to the external links as you see them.
target="_blank" rel="noopener"

Disable Dark Mode Toggle

Please disable the toggle. The team is working on the CSS but it won't be ready for this launch.

Needs a place to mount Tutorials

I'm working on a Spring Data Redis series of screencasts and an accompanying set of articles, one large, a tutorial, and then a few on refactoring certain aspects of the app. Ideally, we should have, per programming language and even per -framework, if there is enough content (like Spring.io):

  • Getting Started Guides: 15-30 minute read
  • Topical Guides: 60 minutes or less
  • Tutorials: 2-3 hours

Add alt tags to images

All images should have the alt tag properly completed. Imagine a visually impaired person and succinctly describe what the image represents.
alt="image description"

Recent changes make `node-sass` fail with node 15.x

➜ node -v
v15.5.1

➜ yarn -v
1.22.10
[6/7] ⠐ node-sass
error/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory:/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-sass
Output:
Building: /usr/local/Cellar/node/15.5.1/bin/node/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   '/usr/local/Cellar/node/15.5.1/bin/node',
gyp verb cli   '/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library='
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/bin/python2
gyp verb check python version `/usr/bin/python2 -c "import sys; print "2.7.16
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 15.5.1
gyp verb command install [ '15.5.1' ]
gyp verb install input version string "15.5.1"
gyp verb install installing version: 15.5.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 15.5.1
gyp verb build dir attempting to create "build" dir:/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created?/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file:/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file:/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file:/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python2
gyp info spawn args [
gyp info spawn args   '/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-sass/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/briansam-bodden/.node-gyp/15.5.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/briansam-bodden/.node-gyp/15.5.1',
gyp info spawn args   '-Dnode_gyp_dir=/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/briansam-bodden/.node-gyp/15.5.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-sass',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.

No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.

No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.

gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack     at ChildProcess.emit (node:events:376:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:284:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command "/usr/local/Cellar/node/15.5.1/bin/node" "/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd/redis-developer.github.io/node_modules/docusaurus-plugin-sass/node_modules/node-sass
gyp ERR! node -v v15.5.1

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.