Welcome to the Innovationsdaten repository! This project is built using React.js, Vite and Recharts.js. It is designed to visualize innovation data in Berlin and Germany.
Below are setup instructions for running the project locally and steps for deploying it to Netlify.
Ensure you have the following installed on your machine:
- Node.js (v22 or higher)
- npm (usually included with Node.js)
-
Clone the Repository from the Staging Branch
git clone --branch staging https://github.com/technologiestiftung/innovationsdaten-berlin.git && cd innovationsdaten-berlin
-
Install Dependencies
Run the following command to install all necessary packages and add the .env:
nvm use 22 && npm install
Then update the content of the env files accordingly
To start a local development server, use the following command:
nvm use 22 && npm run dev
This will start the development server, usually accessible at http://localhost:5173/
(check the terminal output to confirm).
To build the project for production, run:
nvm use 22 && npm run lint && npm run build
-
Login to Netlify: Go to Netlify and log in to your account (or create one if you haven’t already).
-
Create a New Site:
- Click "New site from Git" and connect your GitHub (or other Git provider) account.
- Select the repository for Project Name.
-
Configure Build Settings:
- Build Command:
npm run build
- Publish Directory: ``
- Build Command:
-
Deploy:
- Click "Deploy Site". Netlify will automatically build and deploy your project.
After the initial setup, every push to the main branch will automatically trigger a redeployment on Netlify, ensuring your site stays up-to-date.
Before you create a pull request, write an issue so we can discuss your changes.
Thanks goes to these wonderful people ❤️
Jakob Sawal 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Texts and content available as CC BY.
Illustrations by {tba}, all rights reserved.
Made by
|
Supported by
|