Speedpastes.org is an open source, invite-only, social note-taking platform which serves as an alternative to the malware-ridden pastebin.
Remember to configure your shell to use direnv! Add the following lines at the end of your ~/.bashrc:
eval "$(direnv hook bash)"
Then open your terminal and do
git clone git@github.com:rjoken/speedpastes.git
cd speedpastesIf you have everything set up correctly, direnv should complain:
direnv: error /home/username/speedpastes/.envrc is blocked. Run `direnv allow` to approve its contentIf it doesn't, please check it is hooked correctly into your SHELL.
Once you see the error message, simply run:
direnv allow
Follow the prompts, and allow it to download the packages it needs. Once done, run:
bundle install
Once dependencies are installed, simply run:
dev
to start all services locally.
speedpastes will start a postgresql instance on port 6666. You may modify the DEV_DATABASE_URL if you want to point speedpastes to a different database.
This application has basic email and password authentication with rails default implementation, however some changes have been made to facilitate the invite code system.
not working atm Lol