Comments (10)
Snag for any revel developer is to do the
go get
and installed etc..
But as a developer one needs to
cd GOPATH/revel
and then checkout
So this command is a quick way to switch betdeen versions and branches ;-)
from cmd.
go get detect
if github url == https.. and branch == master
else
switch urls and branches
from cmd.
This looks to be more of a job for documentation then something we really want to try to implement ourselves. If we are looking to do a release cycle month I think this can be closed, thoughts @pedromorgan ?
from cmd.
yea will make docs
from cmd.
Actually I do have thoughts..
The situation is that a standard revel install is via
go get github.com/revel/cmd
and this installs all revel/modules etc from master
Now say I want to switch to the develop "mode"
i need to enter the revel and modules (examples) and switch branch to develop
That's the idea in my head.. so i can then test latest develop branch, and switch back and forth at will
# lets have some fun
revel switch develop
revel run github.com/revel/revelframework.com
## a bug or someting so switch back
revel switch stable
revel run github.com/revel/revelframework.com
from cmd.
and all it does in psuedo code
revel switch develop
for r in [revel, modules, examples] {
cd GOPATH + github.com/revel/ + r
git checkout <branch>
}
But develop can also have a switch to check git@ vs http checkout etc
from cmd.
I think I need to create a new hackers page... to explain
branching problem et all
and namespace.. etc
But still think we need the
revel update < upgrades to latest
revel dev < check developer info
And while were at it, we need a console to sak questions
cd github.com/me
revel wizz app
## enter project location
> github.com/me/
## Title [optional]
>
enable jobs
enable ws
etc
from cmd.
Oh and forgot..
revel example[s]
- chat
- booking
- facebook
revel example chat
> revel run github.com/revel/examples/shat
from cmd.
I think what you are talking about here is some package management tool There are a lot and they can do what you ask. I think it is not necessary for us to reinvent the wheel on this.
from cmd.
This is now happening
from cmd.
Related Issues (20)
- Could not find import issue HOT 1
- Can't create a new app on Windows HOT 3
- Support go modules (go.mod) instead of dep HOT 4
- Create docker image or dockerfile
- revel package HOT 1
- Failed to find Revel version HOT 8
- Mode flag failing HOT 2
- Arg types in generated routes.go and run.go HOT 4
- test suite issue
- Inconsistent behavoir between revel run and revel test
- Failed to parse port as integer: %!s(int=-1) HOT 2
- support go modules, panic: runtime error: invalid memory address or nil pointer dereference HOT 1
- If the test command fails to assert, set the Exit Status to non-zero.
- build command generates unnecessary files HOT 1
- Harness Compilation error page has status 200 OK
- command not found HOT 3
- Dependency not found - github.com/myesui/uuid HOT 3
- revel run nil pointer dereference HOT 2
- Installation command doesn't work HOT 1
- Validation Key Index Line Number Mismatch
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 cmd.