To set up the project for the first time, follow these steps:
git clone https://github.com/nairuby/rubyconf.africa.git
cd rubyconf.africa
git checkout Ft/Conf-details
make setupThis will install the necessary dependencies and start the Jekyll server for development.
If you need to update the project, you can follow these instructions:
-
Pull the latest changes:
git pull origin main
-
Update your local dependencies:
make install
-
Start the server:
make serve
-
First Time Setup:
Runmake setupto install dependencies and start the Jekyll server. -
Install Dependencies:
Runmake installto install or update the project's dependencies. -
Sync Google Sheets: Run
make syncto run a Google sheets sync script -
Serve the Site:
Runmake serveto start the Jekyll server for local development. -
Clean Up:
Runmake cleanto remove the vendor directory and the_servefolder.
If you encounter errors with the following gems during setup or installation:
dotenv(~> 3.1)googleauth(~> 1.14)google-api-client(~> 0.53.0)google-apis-sheets_v4(~> 0.41)
You can install them manually using these commands:
gem install dotenv
gem install googleauth
gem install google-api-client
gem install google-apis-sheets_v4After installing the gems manually, try running make install or make setup again.
To build the site for deployment, you can run:
bundle exec jekyll build -d public