Coder Social home page Coder Social logo

revel dev about cmd HOT 10 CLOSED

revel avatar revel commented on June 11, 2024
revel dev

from cmd.

Comments (10)

pedromorgan avatar pedromorgan commented on June 11, 2024

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.

pedromorgan avatar pedromorgan commented on June 11, 2024

go get detect

if github url == https.. and branch == master

else
switch urls and branches

from cmd.

notzippy avatar notzippy commented on June 11, 2024

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.

pedromorgan avatar pedromorgan commented on June 11, 2024

yea will make docs

from cmd.

pedromorgan avatar pedromorgan commented on June 11, 2024

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.

pedromorgan avatar pedromorgan commented on June 11, 2024

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.

pedromorgan avatar pedromorgan commented on June 11, 2024

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.

pedromorgan avatar pedromorgan commented on June 11, 2024

Oh and forgot..

revel example[s]
- chat
- booking
- facebook

revel example chat
> revel run github.com/revel/examples/shat

from cmd.

notzippy avatar notzippy commented on June 11, 2024

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.

notzippy avatar notzippy commented on June 11, 2024

This is now happening

from cmd.

Related Issues (20)

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.