Slatebox App Development
Note this guide is to install and run Slatebox on your own development machine. If you want to host on your server, it is recommended that you follow the docker installation guide.
Want to run Slatebox with the source code? This assumes a Linux environment - 5 easy steps:
npm install -g meteor
git clone [email protected]:Slatebox/slatebox.git
meteor npm install
npm run start
And boom, you should see
=> App running at: http://localhost:3000/ in your command line. Navigate there, and you will have Slatebox running on your machine, ready for local development. 💪
Environment variables can be set to extend Slatebox's functionality, but they are not necessary (the quickstart above does not set them). The environment variables available are the same as when running Slatebox via Docker:
|Env Variable Name
|Enable custom shape searching in Slatebox via the NounProject. It has access to over 3 million shapes.
|Chatwoot lets you add a drop-in support widget to the site
|Provide an smtp mail server for outgoing messages
|Google's API key is needed both for retrieving fonts
|Google's Image API key is needed both for searching images
|An API key from Pixabay is needed to search slate background images
|AWS credentials are required to use the copy-to-cloud-url feature when exporting a slate
|You can set up an alias to the cloudfront cdn (or otherwise) and use that DNS name here
|Google Docs can be integrated with these env variables
|Integrate into daily.co for audio and video huddles
Set whichever environment variables you'd lik to enable (e.g.,
export PIXABAY_API_KEY='xyx'), then restart the app with
npm run start.