This is the source code of https://community.algolia.com/. The deployment to this live website is automated
when changes are pushed to the source branch.
To run this project, you will need:
- Node.js >= 9.80, via nvm - install instructions
- Yarn >= 1.5.1 - install instructions ("Alternatives" tab): curl -o- -L https://yarnpkg.com/install.sh
Pro tip: Remove any brew installed/globall system installed Node.js and Yarn, just use nvm and Alternatives installation, they works perfectly.
Then:
nvm install
nvm useTo develop on this project, do:
yarn
yarn devThe deploy steps are directly handled by Gulp.js in the gulpfile.
yarn build
yarn deployThe current appId storing the data is latency (accessible for writes by Algolia employees).
If you want to update the data, first test it on a new index: modify algolia-projects.json and run:
appId= adminApiKey= yarn update-indexOnce you are sure this is the right config, then run the same command using latency credentials.
You may encounter issues while running yarn deploy, you can fix it by following this GH thread