If you want to make the same proj for your city, the only thing I ask is to fork the main repo to make it yours. Thanks!
- Change the specific label related to me and my city are inside the
.env
file, if you change that the js will be clean ;) - Change the city in the
template.html
file - Change the name and short_name inside
manifest.json
- Change the name inside
package.json
All the data are fetched from this gist: https://gist.githubusercontent.com/tomma5o/1ca63d091b01a2fa6a73a17cc86b8fe6/raw/FerraraDomicilio.json
When you add your gist url remember to delete the last hash because points directly to a specific commit, otherwise you would get an outdated version, so for example:
remove the second hash ------------------------------------┐
https://gist.githubusercontent.com/tomma5o/<hash>/raw/<removeThisHash>/FerraraDomicilio.json
The site is developed with some specific https://netlify.com APIs.
- Connect your GitHub account to Netlify
- Select the project
- In Settings → Build & Deploy → Set Build command to : npm run build
- In Settings → Build & Deploy → Set Publish directory to : build
In Settings → Build & Deploy → Post processing → Snippet injection: you can add here your GAnalytics snippet
In Form you can find all the submissions.
There are two type of submission: Verified Submission and Spam Submission sometimes they end up in spam
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# test the production build locally
npm run serve