Some configuration is required for Lyre to run.
Running Locally
You can run Lyre easily with Vagrant, so go install that now.Vagrant also requires Virtualbox.
Once Vagrant is installed, clone the repo and boot the VM.
$ git clone https://github.com/pearkes/lyre.git
...
$ vagrant up
...
You'll need to create an .env
file in the root of your project.Inside of it, you should have something like this:
BUCKET_URL=s3://ag32g23g2:vabnebiesesbs@s3.amazonaws.com/bucket-4j842n82o4iv2
CACHE_TYPE=simple
DATABASE_URL=sqlite:////tmp/test.db
PRETTY_SERVER_NAME=33.33.33.16
SERVER_NAME=33.33.33.16
UPLOAD_FOLDER=files/
Now you can ssh into the VM (if it's done provisiong from the vagrant up
.vagrant ssh
...
cd site/
You're now in a shared file system with your host computer. You can run
lyre locally now!make setup
...
Now visit http://33.33.33.16:5000 and you should see the homepage.To see all of the commands you can run, checkout the Makefile in the root of the project.
from https://github.com/pearkes/lyre