Skip to content

tprzedmojski/scrivito_example_app

 
 

Repository files navigation

Scrivito Example App

Take this app for a test drive on Heroku!

Log in or sign up at https://scrivito.com, get a fresh CMS. Click the deploy-to-heroku button and fill in the Scrivito tenant id and API key of your fresh Scrivito CMS. Fill in an editor password. You will need this password to switch to editor mode on your deployed heroku app.

Deploy

Wait until Heroku has finished deployment.

Explore your new Scrivito app.

Local Installation

Git clone onto your machine and install used gems.

git clone git@github.com:Scrivito/scrivito_example_app
cd scrivito_example_app
bundle

Create an .env file in your app root directory for your API credentials.

Your .env file should look like this:

GOOGLE_MAPS_API_KEY = api-key-from-developer.google.com

You can leave out GOOGLE_MAPS_API_KEY. In this case the maps widgets will not display a map. You can add the key later.

If you want fresh example content then run

rails runner SeedContentCreator.create

The seed content creator will create a new working copy, remove all existing content, add example pages, and publish the working copy.

In order to start your server run

rails server

Open http://localhost:3000 in your browser.

About

Scrivito Example App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 40.3%
  • Ruby 32.9%
  • HTML 24.8%
  • CSS 2.0%