Running Locally
To get it running, just clone the repo:
sh
git clone https://gitlab.com/soapbox-pub/soapbox.git
cd soapboxEnsure that Node.js and Yarn are installed, then install dependencies:
sh
yarnFinally, run the dev server:
sh
yarn devThat's it! 🎉
It will serve at http://localhost:3036 by default.
You should see an input box - just enter the domain name of your instance to log in.
Tip: you can even enter a local instance like http://localhost:3000!
Troubleshooting: ERROR: NODE_ENV must be set
Create a .env file if you haven't already.
sh
cp .env.example .envAnd ensure that it contains NODE_ENV=development. Try again.
Troubleshooting: it's not working!
Run node -V and compare your Node.js version with the version in .tool-versions. If they don't match, try installing asdf.