You will need a personal Netlify account for any development or building of this app. Get an account here Netlify IdeaCrew Team.
Once you have an account, you will need to be added to the IDC team. Contact a team member to be added.
-
One Time Setup
- Install packages:
npm install
- Login to Netlify CLI:
npx netlify login
(notice thenpx
command)
- Install packages:
- Run the app:
npm start
- App will be available on http://localhost:1313/
- Build the app:
npm run build:local
- App will be built to
public/
directory
To mirror the Netlify build locally, you can run the following command: npm run build:netlify
. This will allow you to quickly test the build locally before pushing to Netlify.
There are 2 different types of changes that can be done to the website. Tina CMS is used to quickly and easily modify specific content on the website (no developement experience req) Admin Link. Not all content is able to modified through the CMS. Any content that can not be modified through the CMS can be done through local development of the code base by a developer. This should be done by creating an issue and assigning a developer to the issue. The developer will then make the changes and integrate the updates through a pull request.
Changes to the website should be done through feature branches and pull requests. The trunk
branch is protected and requires a pull request to be merged.
For each pull request, a preview build will be created and a link to the preview will be added to the pull request in GitHub. View the PR in GitHub to see the link.
When the pull request is merged, the preview build will be removed and the app will be deployed to production.
- The app deploys automatically to Netlify on every push to the
trunk
branch. - When the pull request is merged, the preview build will be removed and the app will be deployed to production.
The website has 1 form on the contact page that uses Netlify forms, allowing us to take advantage of the SMTP and Akismet services. Each submissions will be sent to [email protected]
and also to the #company-website Slack Channel (Currently 🔒)
Form Submissions can be viewed here:
Read more on Netlify Docs: