Installation

At present to install fragmenta CMS it is best to install the fragmenta command line tool. To install a new cms, run the fragmenta command line tool and install from source. It's easy to compile and run the CMS locally with this tool, and it will let you modify any files if you wish to, and preview changes locally first. In future a standalone binary download will be available, without any other requirements.

Installing from source

Go 1.8 is required. To install from source, run this command to fetch the fragmenta command line tool:

go get -u github.com/fragmenta/fragmenta

then use

fragmenta new cms my/path/here

to generate a new website, and follow the instructions to run your new site. This will let you edit the source of the website and generate new resources, change behaviour etc. At present Fragmenta has not been tested on Windows, if you are interested in working on Windows support, please get in touch. Once you have built your server,  to run the server in production mode (say on a server), set the FRAG_ENV environment variable first.

FRAG_ENV=production ./bin/fragmenta-server

Binary Download

 In future a binary version will be available, which you can run without any dependencies and which will hopefully compile in all templates, so that a standalone binary can be produced.

Deployment

Detailed deployment instructions will be available soon - at present deployment is done with the ansible tool but any tool which copies files up to the server would be fine (scp, rsync, git etc) as long as you can restart the binary on the server after deployment. I usually run the server as a service under linux, and sync up then restart the service with ansible. There are no external dependencies, so it should run on any distribution, including very minimal ones.