Skip to content
Fasty is a new CMS based on openresty / lapis & arangoDB
JavaScript Lua MoonScript CSS HTML Ruby Other
Branch: master
Clone or download
Olivier Bonnaure
Latest commit 2a4498c Aug 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Revert Jun 13, 2019
config initial commit May 25, 2019
cypress Tests Aug 8, 2019
foxxy Don't deploy datasets table Aug 21, 2019
lib Force bindvar to have page : 1 Aug 21, 2019
logs initial commit May 25, 2019
patch/lapis/nginx initial commit May 25, 2019
production_setup initial commit May 25, 2019
spec Tests Aug 8, 2019
static Install service Jun 5, 2019
sync Merge pull request #5 from solisoft/dependabot/npm_and_yarn/sync/loda… Aug 17, 2019
views initial commit May 25, 2019
.arangodb.yml initial commit May 25, 2019
.gitignore Deploy to prod Jul 10, 2019
.ruby-gemset initial commit May 25, 2019
.ruby-version initial commit May 25, 2019
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Aug 20, 2019
Dockerfile Update Dockerfile & enhance nginx.conf file Aug 18, 2019
Dockerfile_node Install script Jul 10, 2019
Gemfile initial commit May 25, 2019
Gemfile.lock initial commit May 25, 2019
LICENSE Create LICENSE Jun 11, 2019
Readme.md Fix readme Aug 4, 2019
app.lua Use expire headers only when @req.headers['x-forwarded-host'] == nil Aug 19, 2019
app.moon Use expire headers only when @req.headers['x-forwarded-host'] == nil Aug 19, 2019
config.lua Tests Aug 8, 2019
config.moon Tests Aug 8, 2019
cypress.json cypress + circleci Jun 13, 2019
deploy-all initial commit May 25, 2019
deploy-cms.sample Remove deploy-cms file May 25, 2019
deploy-foxxy Build Foxxy App Jun 4, 2019
docker-compose.yml use latest version of arangodb Aug 16, 2019
mime.types initial commit May 25, 2019
nginx.conf Fix global variable error logs Aug 18, 2019
package-lock.json fix npm modules Aug 17, 2019
package.json Tests Aug 8, 2019
yarn.lock Tests Aug 8, 2019

Readme.md

Fasty

https://fasty.ovh

A CMS built on top of openresty/lapis & arangodb

Installation

You need to have docker & docker-compose installed properly.

docker-compose up --build

For running only dev mode : docker-compose up web --build

For watching / compiling *.moon files : dc exec cms moonc -w **/*.moon

It will launch the lapis instance + an arangoDB one

  • To access ArangoDB UI : http://localhost:8530
  • To access Foxxy app : http://demo.127.0.0.1.xip.io:8080/static/admin
  • To access Lapis app (dev) : http://demo.127.0.0.1.xip.io:8080
  • To access Lapis app (prod) : http://demo.127.0.0.1.xip.io:9090

Install foxxy & foxx-cli as global npm modules

sudo npm install -g foxxy sudo npm install -g foxx-cli

Create a database called db_demo and install services on it :

  • touch .arangodb.yml (useless, will be removed)
  • Go to the foxxy folder and run
  • foxxy upgrade settings --server fasty --database db_demo
  • foxxy upgrade --server fasty --database db_demo

Upgrade ArangoDB version

  • docker-compose run --rm arangodb arangod --database.auto-upgrade

Links

Benchmarks

It's fast enough ;)

License (MIT)

You can’t perform that action at this time.