GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - UXScripts/google-map-react-examples: Examples for google-map-react component.

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
build
build
 
 
config
config
 
 
docker
docker
 
 
osx
osx
 
 
scripts
scripts
 
 
server
server
 
 
web
web
 
 
.babelrc
.babelrc
 
 
.eslintrc
.eslintrc
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
config.js
config.js
 
 
docker_run.sh
docker_run.sh
 
 
inotify_touch_helper.sh
inotify_touch_helper.sh
 
 
make-webpack-config.js
make-webpack-config.js
 
 
package.json
package.json
 
 
tmux_run
tmux_run
 
 
watch.sh
watch.sh
 
 
webpack-hot-dev-server.config.js
webpack-hot-dev-server.config.js
 
 
webpack-node-dev.config.js
webpack-node-dev.config.js
 
 
webpack-production.config.js
webpack-production.config.js
 
 
webpack-sass-source-map-dev-server.config.js
webpack-sass-source-map-dev-server.config.js
 
 
webpack.config.js
webpack.config.js
 
 

Repository files navigation

#google-map-react examples This project is isomorphic flummox app with google-map-react control examples. It uses modified page.js for routing.


##Install I highly recommend to use docker for development.

###For non docker users

  • Install

    npm install  
  • Run developer build with hot reload

    #console 1
    npm run hot-dev-server
    #console 2
    npm run start

    run browser and type http://localhost:3000/map/main

  • Run production build (isomorphic)

    #console 1
    NODE_ENV=production npm run build
    NODE_ENV=production npm run start

    run browser and type http://localhost:3000/map/main

  • Environment variables you can set

    NODE_ENV default undefined (for production version must be set NODE_ENV='production')
    EXT_IP default 0.0.0.0 (if you need hot reload work on your subnetwork set as your local network ip)
    HOT_RELOAD_PORT default 3081 (any port for hotreload to work)
    SERVER_PATH default empty string ''
    USE_PRERENDER default equal to true if NODE_ENV === 'production'
    

###For docker users:

  • Install

    ./docker/base_image/build.sh
    ./docker/react_image/build.sh
    #and add bash_profile aliases from ./docker/bash_profile
    cat ./docker/bash_profile >> ~/.bash_profile
    source ~/.bash_profile
  • Run developer build with hot reload

    ./docker_run

    run browser and type http://localhost:3000/map/main

  • Run production build (isomorphic)

    ./docker_run --production

    run browser and type http://localhost:3000/map/main

  • Enter container to view or to test anything (be sure bash_profile aliases from ./docker/bash_profile installed)

    #be sure bash_profile aliases from ./docker/bash_profile installed
    denter gmr
    tmux att

#For Docker OSX users:

  • install watchman

    brew install watchman
  • fix watchman add this to ~/Library/LaunchAgents/com.github.facebook.watchman.plist

    <key>EnvironmentVariables</key>
    <dict>
        <key>PATH</key>
        <string>/Users/ice/v-1/install/google-sdk/google-cloud-sdk/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/CrossPack-AVR/bin:/usr/local/go/bin:/Users/ice/v-1/checker-276:/home/ice/web_projects/amazon_ec2/ec2-api-tools-1.6.13.0/bin</string>
    </dict>
    launchctl unload -w ~/Library/LaunchAgents/com.github.facebook.watchman.plist
    launchctl load -w ~/Library/LaunchAgents/com.github.facebook.watchman.plist
  • install boot2docker with nfs support (vboxfs is really-really slow)

#gh-pages generation

./docker_run.sh --serverpath '/google-map-react' --production
denter gmr
tmux att
./scripts/gh-pages-generator.sh

About

Examples for google-map-react component.

istarkov.github.io/google-map-react/map/main/

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

297 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.