dreamside-digital / rlgna-staging

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Responsible Leaders Gathering North America | 2020 Online Edition

Tech stack

Local development

  • clone the repo
  • create .env.development file and populate the variables
GATSBY_FIREBASE_ENVIRONMENT="staging"
  • create /config/firebase-config.staging.json file and populate with firebase credentials
  • install the firebase cli locally and log in
npm install -g firebase-tools
firebase login
  • ensure you have access to the Firebase project
firebase projects:list
  • install the dependencies
yarn
  • start the development server
yarn develop

Deploy to staging

yarn deploy:staging

Content editing

  • create an account at http://localhost:8000/admin
  • on Firebase, ensure your account is set as an Editor in the users table
  • on the page you want to edit, click on the account button and select "Start editing"
  • click on the editable fields to update the content
  • click on the checkmark icon to save your changes
  • from the account button, select "Done editing" to preview the page

About

License:MIT License


Languages

Language:JavaScript 88.4%Language:SCSS 11.6%