mattgu74 / opacms Goto Github PK
View Code? Open in Web Editor NEWCreate a little website, easily editable...
Create a little website, easily editable...
== OpaCms == Author Matthieu Guffroy build : make launch : ./opacms.exe (port 8080) ./opacms.exe --server-port nnnn (port nnnn) The editor : The wysiwyg editor is TinyMCE. It's done using some bypass Edit page : goto /user or /admin login with admin:admin go back to the / page you can edit the page and create new one DEMO : A demo is here => http://opacmsdemo.mattgu.com === TUTO APACHE === == 1. Use a subdomain == This my example config file for opacmsdemo.mattgu.com : <VirtualHost *:80> ServerName opacmsdemo.mattgu.com:80 ProxyPass / http://127.0.0.1:8080/ ProxyPassReverse / http://127.0.0.1:8080/ ProxyPreserveHost on ProxyRequests On ProxyVia On <Proxy *> Order allow,deny Allow from all </Proxy> </VirtualHost> ==2. Use an alias == If you want to get an alias (example: www.mysite.com/opacms) You must have : ProxyPass /opacms http://localhost:8080/opacms ProxyPassReverse /opacms http://localhost:8080/opacms ProxyPreserveHost on ProxyVia On The Two first line are indeed very usefull, the ProxyPreserveHost is also really import for OPA. If not you could have some problem. I don't know if the ProxyVia is important you could try without. Then you need to launch your server with the option (--base-url opacms). ==== Solution with nginx ==== Here is my nginx file, for the demo : server { server_name opacmsdemo.mattgu.com; location / { proxy_set_header Host opacmsdemo.mattgu.com; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://10.0.0.106; } } http://10.0.0.106 is where is launched your application. It could be somthing like : http://localhost:8080
Hi,
I uploaded the project zip on my server and unzipped. Then i went to the project folder and ran following command:
sagar@Debian-60-squeeze-64-minimal:~/opa/OpaCms-master$
Here is the error i got:
Parse error
The error may be in the following citation, usually in the red part
(starting at ⚐) or just before:
e
Editor = {{
base_url = Resource.base_url?""
l⚐oad = <script type="text/javascript" src="{base_url}/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
@client init()=
((%% editor.init %%)())
Hint:
expected a returned expression at the end of the block, but found a binding. Did you mean ==' rather than
=' ?
When a page is deleted,
it is always in the history of the db... And this case is not managed by the opacms...
I need to work on it !
in order to successfully run opaCms there seems to be a dependency on opaCas. I suggest something in the line of the following be added to the readme (is there something like a package manager for opa?)
to build opaCms first:
cd ..
git clone https://github.com/mattgu74/opaCas.git
make
cd OpaCms
make
Error
An internal error has occurred during the pass StaticInclusions
Uncaught Exception:
Sys_error("/Users/dd/opa/opacms/tinymce/jscripts/tiny_mce/utils/mctabs.js: Too many open files")
Backtrace:
Error
An internal error has occurred during the pass LoadObjects
Fatal error: exception Sys_error("Too many open files")
make: *** [OpaCms.editor.opx] Error 2
I have been mucking around with opa this afternoon waiting for the OS release. I do not know if this is an OpaCms or an Opa issue.
I am using OS X and release version S3.3 -- build 28888
I used skipfish to do some load testing on the application and I found two issues:
skipfish -W path_to_skipfish/dictionaries/complete.wl -o ./opacms http://localhost:8081
Being an absolute opa newbie, its hard for me to know if this is application specific. Is there a way to profile this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.