It’s dangerous to go alone! Here you have some recommendations that may come in handy after downloading Luminos.
Make sure you have a working Go development environment before installing from source.
go get to retrieve and install Luminos:
go get menteslibres.net/luminos
If you want to use a web server like Apache or nginx as front,
Luminos can be configured to start as a FastCGI server instead of
standalone, just edit the
settings.yaml file and set
server: type: "fastcgi" bind: 127.0.0.1 port: 9000
Then take a look on how to configure your web server, examples are included on the sidebar menu.
Luminos can run without an external web server, it has its own standalone
server. Just tweak the
settings.yaml file and change
standalone and a simple HTTP server will start listening on the configured
server and port.
server: type: "standalone" bind: 127.0.0.1 port: 9000
Whether you configure Luminos as a standalone or fastcgi server it can be started just the same.
Here’s an example on how you can serve a copy of this site in your own OSX, FreeBSD or Linux box.
First, make sure Luminos is in standalone mode and then use the
mkdir -p ~/projects cd ~/projects git clone https://github.com/xiam/luminos.menteslibres.org.git cd luminos.menteslibres.org luminos run
Now try to open the address
http://127.0.0.1:9000 with a browser.
You can also start with a smaller example project using the
mkdir -p ~/projects cd ~/projects luminos init luminos-example-project cd luminos-example-project luminos run
You may use any of the examples above as a starting point for your own site.
Note: Make sure the
$GOPATH/bin directory is in your
luminos binary would not be found.