You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
joelondon ca4c8a398b Update 'README.md' 4 years ago
dist reprise list view 4 years ago
src reprise list view 4 years ago
.browserslistrc polyfills 5 years ago
.gitignore initial commit 5 years ago
README.md Update 'README.md' 4 years ago
package.json added digital support 5 years ago
server.js initial commit 5 years ago
webpack.config.js reprise list view 4 years ago

README.md

eu-londoners

this project is to show services available for eu londoners interested in settled status during brexit

data

google spreadsheet share

https://drive.google.com/drive/folders/14ZVhTJYJaohQOqU2rexvTN_s0NUP49KZ?usp=sharing

deployment

webpack can possibly do this during the npm run build but currently the working deployment procedure is to perform the two steps below before running npm run build and then unperforming them to return to have npm run start:dev working

(i prefer gnu sed to freebsd) brew install gnu-sed

gsed -i 's/src\///g' src/index.js
gsed -i 's/\.\/src\//\.\//g' src/index.html

also need to uncomment this bit of webpack config

/*
module.exports = [

  merge(config[0], {
    plugins: [
      new copyPlugin([
        { from: 'src/json', to: 'json' },
        { from: 'src/img', to: 'img' },
        { from: 'src/css', to: 'css' },
      ]),
    ],
  }),

  config[1],
]
*/

back to dev

gsed -i "s/'\.\//'.\/src\//g" src/index.js
gsed -i 's/"\.\//".\/src\//g' src/index.html

and also comment out

module.exports = [

  merge(config[0], {
    plugins: [
      new copyPlugin([
        { from: 'src/json', to: 'json' },
        { from: 'src/img', to: 'img' },
        { from: 'src/css', to: 'css' },
      ]),
    ],
  }),

  config[1],
]