Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.
- Minimal Node.js version 14.15.0
- Gatsby CLI
Get a local copy of the website repository
git clone https://github.com/cmubtg/website.git
cd websiteOnly required on the first run. Note: it will take a while for the package manager to install all modules.
npm installYou should now have node_modules appear in the sidebar.
To get a local version running, input the following commands
gatsby clean
gatsby developgatsby clean goes through and wipes out the cache.
gatsby develop starts the development server.
In the default setting, you should now have a local version of the site running at localhost:8000. The admin site should also be running at localhost:8000/admin.
After opening the admin site. Create an account to access the information. The top of the page should look like this.
To add a new member, simple click on New Members and input the information accordingly.
All changes should be made in a branch before commiting to master. Please make sure to test your code locally before commiting to ensure that your change does not break the site.
- Fork the repo.
- Create a branch from
master. Branches should be named with the user's andrewID and the issue they are resolving. For example,dsyou_update_homepage_UI. - Run
gatsby buildto compile the site and make it ready for deployment. - Run
gatsby serveto serve the production build of the site. - Once you have confirmed your changes, you can make a pull request and a maintainer will review and accept it accordingly.
By contributing to the Gatsby - Netlify CMS starter, you agree that your contributions will be licensed under its MIT license.
