mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.4 KiB
3.4 KiB
title | description | position | category | fullscreen | menuTitle | link |
---|---|---|---|---|---|---|
Setup and Usages | Simple installation - takes about three minutes! | 1 | Setup and Usages | true | Installation | https://codesandbox.io/embed/vigorous-firefly-80kq5?hidenavigation=1&theme=dark |
Simple installation - takes about three minutes!
Prerequisites
- Must haves
- node.js >= 12 / Docker
- MySql / Postgres / SQLserver / SQLite Database
- Nice to haves
- Existing schemas can help to create APIs quickly.
- An example database schema can be found : here
Quick try
1-Click Deploy
Node app or docker
npx create-nocodb-app
docker run -d --name nocodb -p 8080:8080 nocodb/nocodb
git clone https://github.com/nocodb/nocodb-seed
cd nocodb-seed
npm install
npm start
Production Setup
NocoDB requires a database to store metadata of spreadsheets views and external databases.
And connection params for this database can be specified in NC_DB
environment variable.
Docker
docker run -d -p 8080:8080 \
-e NC_DB="mysql2://host.docker.internal:3306?u=root&p=password&d=d1" \
-e NC_AUTH_JWT_SECRET="569a1821-0a93-45e8-87ab-eb857f20a010" \
nocodb/nocodb
docker run -d -p 8080:8080 \
-e NC_DB="pg://host:port?u=user&p=password&d=database" \
-e NC_AUTH_JWT_SECRET="569a1821-0a93-45e8-87ab-eb857f20a010" \
nocodb/nocodb
docker run -d -p 8080:8080 \
-e NC_DB="mssql://host:port?u=user&p=password&d=database" \
-e NC_AUTH_JWT_SECRET="569a1821-0a93-45e8-87ab-eb857f20a010" \
nocodb/nocodb
Docker Compose
git clone https://github.com/nocodb/nocodb
cd docker-compose
cd mysql
docker-compose up
git clone https://github.com/nocodb/nocodb
cd docker-compose
cd pg
docker-compose up
git clone https://github.com/nocodb/nocodb
cd docker-compose
cd mssql
docker-compose up