Spartan is the complete API and Database Layer that the Tilas Publishing Platform is built on. Lantern (the CMS platform) and Titan (The Website Platform) both speak to it via REST web services to provide all the features of the end to end publishing and blogging front-ends.
Spartan can be installed on your own machine (for Development) or local or remote server or VM (for Staging or Production).
But we recommend you deploy it on DigitalOcean via a Dokku image, this way you can run Spartan, Lantern and Titan as Docker containers that support zero-down-time upgrades via GIT code pushes. This is cool, trust us :)
Get Spartan running on your own server by following these steps.
- MongoDB > Setup a MongoDB server, which needs to be accessible to Spartan via
- MongoDB > Then create an empty database, which is accessible via
- AWS S3 > Create a new S3 bucket with a name of your choice
- AWS S3 > Create a AWS API Key and Secret for your account
- Create a new folder to house your Spartan installation
- Unpack Spartan code into this directory
cd into your directory
npm install to install your dependencies
- Add your desired settings to settings files in scripts/
- And then export your environmental variable into your current session like so:
npm run dbsetup
- You should see a success message if it all worked
- Test can be run via
- All tests should pass before your continue
- Launch the server by running
- Note down the URL:Port your server is running on
- Test your installation by visiting
- Here you can read the API docs, view tests results, etc
- Put Spartan
http://URL:Port behind a web server and map your domain name to it. e.g.
- You can then setup Titan to view your Blog's frontend
- You can then setup Lantern to start adding content to your Blog
For more details on Spartan installation and other technical details.
Read the latest API documentation and get started.
Below is the latest test results after
npm test was last run by you. The
start date below will tell you when it was last run.