Comments (10)
Please past here output from your go env
from clio.
GOARCH="386"
GOBIN=""
GOCHAR="8"
GOEXE=""
GOHOSTARCH="386"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/dima/Projects/go/clio_test/"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_386"
CC="gcc"
GOGCCFLAGS="-g -O2 -fPIC -m32 -pthread -fno-common"
CGO_ENABLED="1"
from clio.
Also when I run app it will be better show status for example:
clio application was running on localhost:4567
from clio.
Thanks a lots
from clio.
During creation of app Clio's core assumes that your template files stored in
$GOPATH/src/github.com/pallada/clio/templates/
directory.
Your GOPATH is /Users/dima/Projects/go/clio_test/
and Clio search for templates in /
. Please check your Go settings.
Also, on my computer, message about non existing source in templates looks like:
error: open /Users/sergey/go/bin/src/github.com/pallada/clio/templates/public/javascripts/vendor/backbone/backbone.js
Which shows that Clio searches in GOPATH/*.
P.S. One additional note: if you'll fix your GO settings, don't be bothered by messages about underscore and backbone non existing files - we will move them out of Cio's Core.
from clio.
yes I fix it. thank you. So now I see application.go file in root when I do 'clio run' everything works like prev. :
MacBook-Pro-Dmytro:qa dima$ clio run
coffee started
scss started
if I do 'go run application.go' I see this:
MacBook-Pro-Dmytro:qa dima$ go run application.go
../github.com/pallada/clio/helpers/paths.go:5:5: cannot find package "bitbucket.org/kardianos/osext" in any of:
/usr/local/go/src/pkg/bitbucket.org/kardianos/osext (from $GOROOT)
/Users/dima/Projects/go/test/src/bitbucket.org/kardianos/osext (from $GOPATH)
do you know what is it?
from clio.
Hm, bitbucket.org/kardianos/osext
- Package that Clio uses for inner purposes. So we definitely need to do clio deps
feature.
from clio.
Dima, all relative issues fixed. Please grab fresh copy of Clio and test this. After your report I'll close this issue. Thanks
from clio.
I will do it today. Thank you a lot
from clio.
Actually, after all that fixes Clio smoothly installs on a fresh server.
from clio.
Related Issues (20)
- Templates in-memory caching HOT 1
- Reporting errors to Errbit and Airbrake HOT 3
- Named parameters in splats HOT 1
- Use GOPATH + app name during running generators
- Any other system processes (for example daemons or workers) can send messages to certain WebSocket channel through RPC
- Simplify `clio run`
- Before and after filters for routes
- Check and fix (optimise) deploy process
- Embed static files in compiled binary
- Embed views
- Development mode
- Remove "work-progress" atavisms
- Static-include functions for templates HOT 1
- Embed static and views during compilation
- Error during template evaluation HOT 1
- Graceful error handling HOT 1
- Reduce core function calls
- Parsing form after each request
- Remove helpers for HTTP errors from core
- Quick fixes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clio.