GithubHelp home page GithubHelp logo

solisoft / fasty Goto Github PK

View Code? Open in Web Editor NEW
175.0 175.0 12.0 8.15 MB

Fasty is a new CMS based on openresty / lapis & arangoDB

License: MIT License

Dockerfile 0.73% Lua 0.40% MoonScript 11.70% Shell 0.48% HTML 2.59% JavaScript 82.90% SCSS 1.20%

fasty's People

Contributors

brianfontaine0 avatar dependabot[bot] avatar olivier-leeto avatar solisoft avatar sonyarianto avatar varbonida avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fasty's Issues

Error while opening the App

Hi,

I am running the stack inside a VM (Ubuntu focal foosa). I have followed all the steps. Two problems i see.

  1. i have copied the sample config file, but documentation does not tells us what to change here.
  2. While opening the /static/admin route there is an error
vagrant@ubuntu2004:/vagrant/fasty$ docker-compose up cms
fasty_arangodb_1 is up-to-date
fasty_foxxy_1 is up-to-date
Creating fasty_cms_1 ... done
Attaching to fasty_cms_1
cms_1       | nginx: [alert] lua_code_cache is off; this will hurt performance in /var/www/nginx.conf.compiled:28
cms_1       | 2020/11/30 04:37:08 [notice] 26#0: using the "epoll" event method
cms_1       | 2020/11/30 04:37:08 [notice] 26#0: openresty/1.17.8.2
cms_1       | 2020/11/30 04:37:08 [notice] 26#0: built by gcc 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) 
cms_1       | 2020/11/30 04:37:08 [notice] 26#0: OS: Linux 5.4.0-31-generic
cms_1       | 2020/11/30 04:37:08 [notice] 26#0: getrlimit(RLIMIT_NOFILE): 1048576:1048576
cms_1       | 2020/11/30 04:37:08 [notice] 26#0: start worker processes
cms_1       | 2020/11/30 04:37:08 [notice] 26#0: start worker process 27
cms_1       | 2020/11/30 04:38:12 [error] 27#0: *1 lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/lapis/init.lua:15: module 'app' not found:
cms_1       | 	no field package.preload['app']
cms_1       | 	no file '/usr/local/openresty/site/lualib/app.ljbc'
cms_1       | 	no file '/usr/local/openresty/site/lualib/app/init.ljbc'
cms_1       | 	no file '/usr/local/openresty/lualib/app.ljbc'
cms_1       | 	no file '/usr/local/openresty/lualib/app/init.ljbc'
cms_1       | 	no file '/usr/local/openresty/site/lualib/app.lua'
cms_1       | 	no file '/usr/local/openresty/site/lualib/app/init.lua'
cms_1       | 	no file '/usr/local/openresty/lualib/app.lua'
cms_1       | 	no file '/usr/local/openresty/lualib/app/init.lua'
cms_1       | 	no file './app.lua'
cms_1       | 	no file '/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/app.lua'
cms_1       | 	no file '/usr/local/share/lua/5.1/app.lua'
cms_1       | 	no file '/usr/local/share/lua/5.1/app/init.lua'
cms_1       | 	no file '/usr/local/openresty/luajit/share/lua/5.1/app.lua'
cms_1       | 	no file '/usr/local/openresty/luajit/share/lua/5.1/app/init.lua'
cms_1       | 	no file '/usr/local/openresty/site/lualib/app.so'
cms_1       | 	no file '/usr/local/openresty/lualib/app.so'
cms_1       | 	no file './app.so'
cms_1       | 	no file '/usr/local/lib/lua/5.1/app.so'
cms_1       | 	no file '/usr/local/openresty/luajit/lib/lua/5.1/app.so'
cms_1       | 	no file '/usr/local/lib/lua/5.1/loadall.so'
cms_1       | stack traceback:
cms_1       | coroutine 0:
cms_1       | 	[C]: in function 'require'
cms_1       | 	/usr/local/share/lua/5.1/lapis/init.lua:15: in function 'serve'
cms_1       | 	content_by_lua(nginx.conf.compiled:58):2: in main chunk, client: 192.168.58.1, server: , request: "GET / HTTP/1.1", host: "192.168.58.111:8080"
cms_1       | 2020/11/30 04:38:12 [error] 27#0: *2 open() "/var/www/static/favicon.ico" failed (2: No such file or directory), client: 192.168.58.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "192.168.58.111:8080", referrer: "http://192.168.58.111:8080/"

Any help will be appreciated!!

Regards
Sandeep

maybe im doing something wrong

I'm getting this error when installing

C:\Users\Click>foxxy upgrade settings --server foxxy --database db_demo
Foxxy - Version 0.6.19
internal/fs/utils.js:307
throw err;
^

Error: ENOENT: no such file or directory, open 'C:\Users\Click/.arangodb.yml'
at Object.openSync (fs.js:476:3)
at Object.readFileSync (fs.js:377:35)
at C:\Users\Click\AppData\Roaming\npm\node_modules\foxxy\bin\foxxy:331:45
at C:\Users\Click\AppData\Roaming\npm\node_modules\foxxy\node_modules\hasbin\node_modules\async\lib\async.js:451:25
at C:\Users\Click\AppData\Roaming\npm\node_modules\foxxy\node_modules\hasbin\lib\hasbin.js:72:3
at FSReqCallback.oncomplete (fs.js:184:5) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'C:\Users\Click/.arangodb.yml'
}

Docker Compose: build error

I run this on my Ubuntu (eoan)

sony@ubuntu:~/general/repos/playground/fasty (master)$ docker-compose up --build
Building resize
Step 1/8 : FROM alpine:3.9
 ---> 82f67be598eb
Step 2/8 : LABEL Olivier Bonnaure <[email protected]>
 ---> Using cache
 ---> ee010ec8327b
Step 3/8 : RUN apk update && apk upgrade
 ---> Using cache
 ---> c81859ba2dba
Step 4/8 : RUN apk --update add python
 ---> Using cache
 ---> a89aa968cf06
Step 5/8 : RUN apk add vips-dev fftw-dev build-base --update-cache     --repository https://alpine.global.ssl.fastly.net/alpine/edge/community/     --repository https://alpine.global.ssl.fastly.net/alpine/edge/main
 ---> Using cache
 ---> d61069e6acf7
Step 6/8 : RUN apk --no-cache add --virtual native-deps   nodejs npm g++ gcc libgcc libstdc++ linux-headers make python bash &&   npm config set unsafe-perm true &&   npm install --quiet yarn -g &&   npm install --quiet nodemon -g
 ---> Running in 7f2108f24a10
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/11) Installing ca-certificates (20190108-r0)
(2/11) Installing c-ares (1.15.0-r0)
(3/11) Installing http-parser (2.8.1-r0)
(4/11) Installing libuv (1.23.2-r0)
(5/11) Installing nodejs (10.14.2-r0)
(6/11) Installing npm (10.14.2-r0)
(7/11) Downgrading readline (8.0.1-r0 -> 7.0.003-r1)
(8/11) Downgrading python2 (2.7.17-r0 -> 2.7.16-r2)
(9/11) Installing bash (4.4.19-r1)
Executing bash-4.4.19-r1.post-install
(10/11) Installing native-deps (0)
(11/11) Downgrading python3 (3.8.1-r1 -> 3.6.9-r2)
Executing busybox-1.29.3-r10.trigger
Executing ca-certificates-20190108-r0.trigger
1 error; 472 MiB in 155 packages
ERROR: Service 'resize' failed to build: The command '/bin/sh -c apk --no-cache add --virtual native-deps   nodejs npm g++ gcc libgcc libstdc++ linux-headers make python bash &&   npm config set unsafe-perm true &&   npm install --quiet yarn -g &&   npm install --quiet nodemon -g' returned a non-zero code: 1

Can you help me?

Page Index : Tree

The pages should use a tree to allow a better content organization

noob issues

Hello, I somewhat managed to set fasty up on my linux box, following the documentation.
I got the admin app running (looks raw but nice, fast and interesting, a developer's wet dream for a cms)

But alas, http://demo.localhost:8080/ gives me

500 Internal Server Error
openresty/1.19.3.1

Where did I go wrong ?

Also the optional step
npm install fasty-cli -g
failed for me with (picture enclosed) those errors
buildFailed

En tout cas, j'éspère pouvoir développer un site web à propos des mathématiques de l'enseignement supérieur avec une fonction de recherche hierarchique me permettant par exemple de trouver tous les concepts qui utilisent des applications (qui sont elles memes des fonctions qui sont un sous-ensemble de produit cartesien qui sont des ensembles).

La taxonomy et les fonctions de recherches de drupal (basée sur une base SQL) étant tellement limités, je me tourne vers arangodb & fasty

Best regards,
Olivier B

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.