GithubHelp home page GithubHelp logo

Comments (11)

gedw99 avatar gedw99 commented on August 18, 2024

I just saw that it does create the logs files automatically, so the only change is to create the "logs" folder in that repo.

Manually or the engine does it..

server git:(master) ✗ ./start.sh 
Deletes all the old .so
Rebuild app.so (user application for site)
Rebuild box.so (user engine)
Run the xamboo
X[sys]: 2022/04/27 09:17:16 Logger starting...
X[sys]: 2022/04/27 09:17:16 Link Log X[errors] to stdout:
X[errors]: 2022/04/27 09:17:16 Logger starting...
X[sys]: 2022/04/27 09:17:16 Build Engines Containers native and external
X[sys]: 2022/04/27 09:17:32 Build Components Containers native and external
X[sys]: 2022/04/27 09:17:32 Stats cleaner launched. Clean every minute.
X[sys]: 2022/04/27 09:17:47 Build Applications External
External APP Main SO library initialized, VERSION = 1.0.0
External APP Main SO library started, HOST = developers VERSION = 1.0.0
External APP Main SO library started, HOST = devapi-for-cors-api VERSION = 1.0.0
X[sys]: 2022/04/27 09:18:05 Link Log L[http][sys] to file:./example/logs/listener-http-sys.log
X[sys]: 2022/04/27 09:18:05 Link Log L[https][sys] to file:./example/logs/listener-https-sys.log
X[sys]: 2022/04/27 09:18:05 Link Log H[developers][pages] to file:./example/logs/developers.log
X[sys]: 2022/04/27 09:18:05 Link Log H[developers][errors] to file:./example/logs/developers-error.log
X[sys]: 2022/04/27 09:18:05 Link Log H[developers][sys] to file:./example/logs/developers-sys.log
X[sys]: 2022/04/27 09:18:05 Link Log H[devapi-for-cors-api][pages] to file:./example/logs/developers.log
X[sys]: 2022/04/27 09:18:05 Link Log H[devapi-for-cors-api][errors] to file:./example/logs/developers-error.log
X[sys]: 2022/04/27 09:18:05 Link Log H[devapi-for-cors-api][sys] to file:./example/logs/developers-sys.log
X[sys]: 2022/04/27 09:18:05 Link Log H[devapi-for-cors-api][stats] to discard
X[sys]: 2022/04/27 09:18:05 Build Applications External
X[errors]: 2022/04/27 09:18:05 Failed to find stat call function: app LogStat <nil>
X[sys]: 2022/04/27 09:18:05 Scanning Listener: L[http].
X[sys]: 2022/04/27 09:18:05 Launching Listener: L[http].
X[sys]: 2022/04/27 09:18:05 Scanning Listener: L[https].
X[sys]: 2022/04/27 09:18:05 Launching Listener: L[https].
X[sys]: 2022/04/27 09:18:05 Link Host H[developers] to L[https] Done.
X[sys]: 2022/04/27 09:18:05 Link Host H[devapi-for-cors-api] to L[https] Done.
X[errors]: 2022/04/27 09:24:58 C[host] No host or site found: localhost 82 /
X[errors]: 2022/04/27 09:24:59 C[host] No host or site found: localhost 82 /favicon.ico

from xamboo.

gedw99 avatar gedw99 commented on August 18, 2024

I forgot to mention that i had to comment out the go-mod override.

module github.com/webability-go/xamboo-env

go 1.15

require (
	github.com/tdewolff/test v1.0.6 // indirect
	github.com/webability-go/xamboo v1.6.6
	github.com/webability-go/xcore/v2 v2.0.8
)

// replace github.com/webability-go/xamboo => ../xamboo

replace example => ./example

Upgrading to go 1.8 and using the go workspaces would fix this for devs and non devs. It is explained here: https://zerokspot.com/weblog/2022/01/14/workspaces-in-go118/

from xamboo.

gedw99 avatar gedw99 commented on August 18, 2024

http://localhost:82 is not loading the static content. The web page displays "Error, no site found".

Any tips ??


➜  server git:(master) ✗ ls -al
total 88
drwxr-xr-x  13 apple  staff    416 Apr 27 08:22 .
drwxr-xr-x   4 apple  staff    128 Apr 27 09:12 ..
drwxr-xr-x  12 apple  staff    384 Apr 27 08:28 .git
-rw-r--r--   1 apple  staff   1121 Apr 27 08:21 LICENSE
-rw-r--r--   1 apple  staff    643 Apr 27 08:21 README.md
drwxr-xr-x  13 apple  staff    416 Apr 27 08:22 admin
drwxr-xr-x  10 apple  staff    320 Apr 27 09:16 example
-rw-r--r--   1 apple  staff    279 Apr 27 08:27 go.mod
-rw-r--r--   1 apple  staff  19240 Apr 27 08:27 go.sum
-rw-r--r--   1 apple  staff   1308 Apr 27 08:21 mainconfig.json
drwxr-xr-x  14 apple  staff    448 Apr 27 08:22 master
-rwxr-xr-x   1 apple  staff    720 Apr 27 09:11 start.sh
-rw-r--r--   1 apple  staff    371 Apr 27 08:21 xamboo.go


➜  server git:(master) ✗ ./start.sh                         
Deletes all the old .so
Rebuild app.so (user application for site)
Rebuild box.so (user engine)
Run the xamboo
X[sys]: 2022/04/27 09:42:47 Logger starting...
X[sys]: 2022/04/27 09:42:47 Link Log X[errors] to stdout:
X[errors]: 2022/04/27 09:42:47 Logger starting...
X[sys]: 2022/04/27 09:42:47 Build Engines Containers native and external
X[sys]: 2022/04/27 09:42:53 Build Components Containers native and external
X[sys]: 2022/04/27 09:42:53 Stats cleaner launched. Clean every minute.
X[sys]: 2022/04/27 09:42:59 Build Applications External
External APP Main SO library initialized, VERSION = 1.0.0
External APP Main SO library started, HOST = developers VERSION = 1.0.0
External APP Main SO library started, HOST = devapi-for-cors-api VERSION = 1.0.0
X[sys]: 2022/04/27 09:43:06 Link Log L[http][sys] to file:./example/logs/listener-http-sys.log
X[sys]: 2022/04/27 09:43:06 Link Log L[https][sys] to file:./example/logs/listener-https-sys.log
X[sys]: 2022/04/27 09:43:06 Link Log H[developers][pages] to file:./example/logs/developers.log
X[sys]: 2022/04/27 09:43:06 Link Log H[developers][errors] to file:./example/logs/developers-error.log
X[sys]: 2022/04/27 09:43:06 Link Log H[developers][sys] to file:./example/logs/developers-sys.log
X[sys]: 2022/04/27 09:43:06 Link Log H[devapi-for-cors-api][pages] to file:./example/logs/developers.log
X[sys]: 2022/04/27 09:43:06 Link Log H[devapi-for-cors-api][errors] to file:./example/logs/developers-error.log
X[sys]: 2022/04/27 09:43:06 Link Log H[devapi-for-cors-api][sys] to file:./example/logs/developers-sys.log
X[sys]: 2022/04/27 09:43:06 Link Log H[devapi-for-cors-api][stats] to discard
X[sys]: 2022/04/27 09:43:06 Build Applications External
X[errors]: 2022/04/27 09:43:06 Failed to find stat call function: app LogStat <nil>
X[sys]: 2022/04/27 09:43:06 Scanning Listener: L[http].
X[sys]: 2022/04/27 09:43:06 Launching Listener: L[http].
X[sys]: 2022/04/27 09:43:06 Scanning Listener: L[https].
X[sys]: 2022/04/27 09:43:06 Launching Listener: L[https].
X[sys]: 2022/04/27 09:43:06 Link Host H[developers] to L[https] Done.
X[sys]: 2022/04/27 09:43:06 Link Host H[devapi-for-cors-api] to L[https] Done.
X[errors]: 2022/04/27 09:45:12 C[host] No host or site found: localhost 82 /
X[errors]: 2022/04/27 09:45:12 C[host] No host or site found: localhost 82 /favicon.ico
X[errors]: 2022/04/27 10:01:23 C[host] No host or site found: localhost 82 /static
X[errors]: 2022/04/27 10:01:23 C[host] No host or site found: localhost 82 /favicon.ico
X[errors]: 2022/04/27 10:01:28 C[host] No host or site found: localhost 82 /public
X[errors]: 2022/04/27 10:01:28 C[host] No host or site found: localhost 82 /favicon.ico

from xamboo.

metalwolf avatar metalwolf commented on August 18, 2024

Going to publish new versions of anything. Huge amount of good changes. basically examples environment and master sites are totally out of sync of main xamboo.

from xamboo.

metalwolf avatar metalwolf commented on August 18, 2024

I published the xamboo-env v0.1.0 , is now fully working on xamboo 1.6.6
Thanks

from xamboo.

gedw99 avatar gedw99 commented on August 18, 2024

Thanks !!

from xamboo.

metalwolf avatar metalwolf commented on August 18, 2024

You welcome. I am also on the process to publish last version of xamboo-master, xamboo-admin and dependent libraries xmodules and wajaf to have anything working like a charm

from xamboo.

gedw99 avatar gedw99 commented on August 18, 2024

I was just now looking at some of those repos and realising they were using v1.

I wrote you a few emails, about ideas etc....

from xamboo.

metalwolf avatar metalwolf commented on August 18, 2024

good, thanks

from xamboo.

metalwolf avatar metalwolf commented on August 18, 2024

I have published the new versions of wajaf, xdominion, xdommask and xamboo-master to work fine with xamboo 1.6

from xamboo.

gedw99 avatar gedw99 commented on August 18, 2024

Thanks, I will have another go

from xamboo.

Related Issues (7)

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.