Source code repository of flyte.org
flyte.org is built using Jekyll and Tailwind. You can refer to the Getting started section to get a local testing environment up and running.
| 📝 Note |
|---|
development is the primary branch to host the site. |
This site uses the following packages.
- Install the prerequisites
- Install tailwind using the command
npm install -D tailwindcss - Install tailwind forms using the command
npm install -D @tailwindcss/forms - Install bundler using the command
gem install bundler - Run
bundle installto install the Ruby gems specified in Gemfile - (Optional) Run
bundle updateto update the Ruby gems - Run the command
bundle exec jekyll serve --livereloadto test the site locally - Open a new tab and run
npx tailwindcss -i ./assets/css/style.css -o ./assets/css/output.css --watchin the root of the repo to build CSS - Visit
http://127.0.0.1:4000/to view the site
| 📝 Note |
|---|
| Site gets automatically built on pushing the changes to the repository. |
- If you encounter an error relating to
eventmachinepackage duringbundle install, make sure thatgem install eventmachine -v '1.2.7' --source 'https://rubygems.org/'succeeds before bundling, and run the following command:
gem install eventmachine -- --with-cppflags=-I/usr/local/opt/openssl/include
- If the following error pops up,
bundler: failed to load command: jekyll
run the following command:
bundle add webrick
