Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 484 Bytes

dev.md

File metadata and controls

23 lines (17 loc) · 484 Bytes

Install a local environement for development

Dependencies

You will need Go 1.23, git, make and curl.

$ git clone [email protected]:cozy-labs/cozy-nextdb.git
$ cd cozy-nextdb

PostgreSQL

Install postgresql and create a database, with a user that can use it:

# apt install postgresql postgresql-contrib
# sudo -i -u postgres
$ psql
> CREATE DATABASE nextdb;
> CREATE USER nextdb WITH PASSWORD 'nextdb';
> GRANT ALL PRIVILEGES ON DATABASE nextdb TO nextdb;