BrainDump是一个简单,强大,开放的笔记平台,可以轻松整理您的生活。
特性
- RESTful API(WIP)
- 全面Markdown编辑
- 完全Markdown观看
- 通过电子邮件分享笔记
- 将Notes分类到笔记本中
- 使用标记对Notes进行分类
- 全文检索
- 将笔记标记为收藏夹
BrainDump是一个简单,强大,开放的笔记平台,可以轻松整理您的生活。(BrainDump is a simple, powerful, and open note taking platform that makes it easy to organize your life.)
BrainDump是一个简单,强大,开放的笔记平台,可以轻松整理您的生活。
Name With Owner | levlaz/braindump |
---|---|
Primary Language | Python |
Program language | Python (Language Count: 7) |
Platform | Docker, Linux |
License: | MIT License |
Release Count | 36 |
Last Release Name | v0.4.14 (Posted on ) |
First Release Name | v0.0.1-alpha (Posted on ) |
Created At | 2015-11-22 20:15:55 |
Pushed At | 2017-01-18 07:21:16 |
Last Commit At | 2017-01-17 23:21:16 |
Stargazers Count | 528 |
Watchers Count | 17 |
Fork Count | 57 |
Commits Count | 601 |
Has Issues Enabled | |
Issues Count | 0 |
Issue Open Count | 0 |
Pull Requests Count | 118 |
Pull Requests Open Count | 0 |
Pull Requests Close Count | 24 |
Has Wiki Enabled | |
Is Archived | |
Is Fork | |
Is Locked | |
Is Mirror | |
Is Private |
DEPRECATED: Read more here and join me in using and contributing to Standard Notes instead.
BrainDump is a simple, powerful, and open note taking platform that makes it easy to organize your life.
The easiest way to hack on braindump is with Vagrant
cd
into the new repovagrant up
vagrant up
the provisioner (scripts/bootstrap.sh) will run which takes a bit of time. Each subequent time will be much quicker.vagrant ssh
to enter the Vagrant box./vagrant
directory with cd /vagrant
which is a synced folder of your local git repo.scripts/start-dev.sh
to start the applicationThe only official method of deploying Braindump is with Docker. Braindump.pw is currently running on an Ubuntu 16.04 LTS server on Linode. You can view scripts/deploy.sh
to see how braindump is currently being deployed to production via CircleCI.
Log into your Production Server and install Docker and Docker Compose
Create a new directory for braindump mkdir -p /var/www/braindump
Edit scripts/secrets.sh
and add your site specific environment credentials.
Edit etc/conf/nginx.conf
and add your site specific nginx configuration
From your local repo, send latest scripts to production Server
rsync -avz scripts/ $USER@SERVER:/var/www/braindump/scripts/
rsync -avz etc/ $USER@SERVER:/var/www/braindump/etc/
scp docker-compose.yml $USER@SERVER:/var/www/braindump
From your local repo, log into production server, pull and restart Docker
ssh $USER@SERVER 'cd /var/www/braindump && docker-compose pull'
ssh $USER@SERVER 'cd /var/www/braindump && docker-compose build'
ssh $USER@SERVER 'cd /var/www/braindump && source scripts/secrets.sh && docker-compose up -d'
(Optional) to set up automatic backups (every 6 hours) add the backup script to your crontab crontab scripts/braindump-backup
If all goes well, you will be able to navigate to $YOUR_SERVER in a browser and see the app. If you get a bad gateway error, or some other error try to run docker-compose in the foreground to get additional logging cd /var/www/braindump && source scripts/secrets.sh && docker-compose up