This is the previous static html website code for https://marmalade.ai which automatically deploys to Netlify when pushed to Github. It was written in Gatsby 3. The code for https://marmalade.ai is now generated by a Gatsby.js project located at https://github.com/Marmalade-ai/company-website-2023. It used Tailwind CSS for styling.
- Clone repository.
npm install
npm install -g gatsby-cli
(version 3.9.0 or newer)npm run develop
to start the developer version of the site, which rebuilds automatically when you save changes to the source code.- View site at http://localhost:8000/ when the development server is running.
We use several extensions to vscode in our development environment for enforcing format conventions and for checking for common coding errors:
- Whenever package.json changes, you need to re-install packages:
to get the full set of dependencies.
npm install
- To run one of the
scripts
defined in package.json from the command line:For example, to run the linter, letting it fix errors automatically:npm run [script_name]
npm run lint:fix
- Never push to
origin/master
. You should only pull fromorigin/master
. - Always work on a branch and push that branch to
origin
for merging tomaster
branch on GitHub through a Pull Request. You should follow that process even if no one but you will review that Pull Request. - On GitHub, only the person who created a Pull Request should
Merge
that Pull Request, because that person knows best when the Pull Request is complete and ready to be merged.
Copyright © 2021-2023 Marmalade AI, Inc.
This source code is licensed under the MIT License. See the LICENSE file for more details.