Environment Setup
Introduction
Before you start using Pocketto, you need to set up your environment. This guide will help you set up your environment to start using Pocketto.
Prerequisites
Before you start setting up your environment, make sure you have the following installed:
- CouchDB, a real-time NoSQL database that allows you to store your data in local as well as in the cloud.
- Node.js, version 14 or above is recommended.
- python. In order to build native modules of npm modules: leveldown, sqlite3, etc.
- node-gyp
Platform Installation
Depending on your project platform, you can pick one of the following installation methods:
Frontend
Backend
Debug for npm/yarn install
If you found the issue for the python dependencies problem ModuleNotFoundError: No module named 'distutils'
, you can try the following
- Install python 3.8 or above
- Install the
distutils
package by running the following command:
python -m venv venv
source venv/bin/activate
pip install setuptools
- Install node-gyp globally by running the following command:
npm install -g node-gyp
You can now proceed with the installation of Pocketto in your project.