# Slatebox App Development

# Quickstart

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
  cd slatebox/web/app
   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

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 Description
NOUN_PROJECT_KEY Enable custom shape searching in Slatebox via the NounProject. It has access to over 3 million shapes.
link
NOUN_PROJECT_SECRET
CHATWOOT_TOKEN Chatwoot lets you add a drop-in support widget to the site
link
MAIL_URL Provide an smtp mail server for outgoing messages
link
GOOGLE_API_KEY Google's API key is needed both for retrieving fonts
link
GOOGLE_IMAGE_SEARCH_API_KEY Google's Image API key is needed both for searching images
PIXABAY_API_KEY An API key from Pixabay is needed to search slate background images
link
AWS_SECRET_KEY AWS credentials are required to use the copy-to-cloud-url feature when exporting a slate
link
AWS_ACCESS_KEY "
AWS_S3_IMAGE_BUCKET "
IMAGE_CLOUD_URL You can set up an alias to the cloudfront cdn (or otherwise) and use that DNS name here
link
GOOGLE_DOCS_CLIENT_ID Google Docs can be integrated with these env variables
link
GOOGLE_DOCS_PROJECT_ID "
GOOGLE_DOCS_AUTH_URI "
GOOGLE_DOCS_TOKEN_URI "
GOOGLE_DOCS_AUTH_PROVIDER_X509_CERT_URL "
GOOGLE_DOCS_CLIENT_SECRET "
GOOGLE_DOCS_REDIRECT_URIS "
GOOGLE_DOCS_JAVASCRIPT_ORIGINS "
DAILY_API_KEY Integrate into daily.co for audio and video huddles
link
DAILY_URL "

Set whichever environment variables you'd lik to enable (e.g., export PIXABAY_API_KEY='xyx'), then restart the app with npm run start.