Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.25 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.25 KB

drawer

A self-hosted application to organize your notes, images, & links.

A screenshot of drawer

Getting Started

Drawer is a Next.js project bootstrapped with create-next-app.

To get your local version live you require Node.js and NPM installed on your system. If you have those, then you can start by cloning this repository:

git clone https://github.com/kartiknair/drawer
cd drawer

Then create a directory where drawer can store all the raw files. Copy this directories path into a .env.local file in the root of your cloned repository:

# in `.env.local`
STORAGE_DIRECTORY=/your/path/here

Now, you need to make sure that all dependencies are installed:

npm install

Once you do that, you can build and serve drawer locally:

npm run build
npm run start

Or if you would like to start drawer and have it running in the background:

# this builds drawer and serves it in a background server
npm run start-bg

Development

To work on drawer it's the same process as before, but instead of building and serving, you instead start the dev server:

npm run dev