8316742d71
Added a comprehensive getting started guide including setup instructions for cloning the repository, running with Docker, and development prerequisites.
1006 B
1006 B
Getting Started
To get a local copy up and running, please follow these simple steps.
- Clone the repo
git clone https://github.com/linagora/twake-drive-legacy - Run it with Docker
cd tdrive docker compose -f docker-compose.minimal.yml up - Open http://localhost/ in a browser
Development
Prerequisites
- Node.js (Version: >=18.x)
- MongoDB
- Yarn (recommended)
Setup
-
Launch MongoDB using
docker run -p 27017:27017 -d mongo -
Launch frontend with
cd tdrive/frontend/; yarn dev:start -
Launch backend with
cd tdrive/backend/node/; SEARCH_DRIVER=mongodb DB_DRIVER=mongodb PUBSUB_TYPE=local \ DB_MONGO_URI=mongodb://localhost:27017 STORAGE_LOCAL_PATH=/[full-path-to-store-documents]/documents \ NODE_ENV=development yarn devIf you need more parameters, create/edit
tdrive/backend/node/config/development.jsonfile -
The app will be running on port 3000