Git Product home page Git Product logo

Comments (7)

twostraws avatar twostraws commented on September 15, 2024 1

Most folks are likely to do this using a local web server. The most common was is using Python, which ships with one. cd into your Build directory on the command line, then run python3 -m http.server to start the server. You should now be able to visit http://localhost:8000 to access your site, rendered normally.

from ignite.

Mcrich23 avatar Mcrich23 commented on September 15, 2024

Thank you, I figured this out. Might be something to add to the executable to have it built in.

from ignite.

twostraws avatar twostraws commented on September 15, 2024

Yes, I agree. This issue should stay open, but I've renamed it to the bigger problem: we need a way to generate new sites quickly, and also run those sites.

from ignite.

Mcrich23 avatar Mcrich23 commented on September 15, 2024

@twostraws I could write shell scripts to do these things. However, I don't know how to turn this into a cli.

from ignite.

Mcrich23 avatar Mcrich23 commented on September 15, 2024

@twostraws I have put together a couple shell scripts to do exactly what it needed but you should probably be the one to publish it. It has 2 commands:

ignite create-template [-n|--name new_folder_name] [destination_path] which fetches the starter repo and unzips it and if you specify a name it will rename IgniteStarter to the name.

and ignite run [-p|--port] [-d|--directory] which will startup a server on port 80 and run the package
Ignite-CLI.zip

from ignite.

Mcrich23 avatar Mcrich23 commented on September 15, 2024

There were some bugs, so I made fixes to the script:
Ignite-CLI.zip

from ignite.

twostraws avatar twostraws commented on September 15, 2024

This is now resolved.

from ignite.

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.