Source code for barrenechea.cl, where the website's construction takes place.
Welcome to the official repository for the Barrenechea website. This site is crafted with modern web technologies to ensure a fast, responsive, and visually appealing experience for all visitors.
To contribute to the development of the website or set up a local version, follow the steps below:
Ensure you have Node.js >=20 installed on your machine.
Clone the repository and navigate to its directory:
git clone https://github.com/barrenechea/barrenechea-website.git
cd barrenechea-website
Install project dependencies:
npm install
To start the local development server:
npm start
Visit http://localhost:3000
in your browser to view the site.
Alternatively, launch a ready-to-code dev environment with Gitpod:
For detecting and translating content automatically:
npm run i18n:generate
Before running the command, set the OPENAI_API_KEY
environment variable with your OpenAI API key for translation services.
For custom AI API endpoints, use the OPENAI_BASE_URL
environment variable. I'm currently experimenting with the llama-cpp-python server as an alternative.