- Clone the repo and
npm i
to install dependencies. firebase init
to setup firebase in the project. Make sure you set the public folder asbuild
if you are usingreact-scripts build
to build the app.npm run start
to run it locally.
... Home page
"home" : {
"subhead" : "Lorem ipsum",
"title" : "Foo bar"
},
... Other pages
"about" : {
"first_title" : "title goes here",
"first_body" : [ "paragraph1", "paragraph2", "paragraph3", "paragraph4" ... ],
"first_img_url" : "https://image.url.here",
"second_title" : "lorem ipsum",
"second_body" : [ "foo", "bar"]
...
},
Navigation.js
modify this file if you want to customize navigation UI. The route paths are passed down fromApp.js
SignupForm.js
where signup form UI and mailchimp API hook isFonts.js
fonts
- Make sure you have Firebase CLI installed globally.
npm i -g firebase-tools
- Build the react app.
npm run build
- If you haven't logged into Firebase, run
firebase login
and runfirebase init
- Lastly, run
firebase deploy
MIT license