Skip to content

skele6011/codespace-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Codespace Base (My own implementation)

This repository is a ready-to-use GitHub Codespace setup fors HTML, CSS, JavaScript, and Java. Everything you need is pre-installed. No local setup required, though you're free to do so.


Quick Start

  1. Fork this repository

    • Click the Fork button on GitHub.
  2. Create a Codespace

    • Open your forked repo on GitHub.
    • Go to https://github.com/codespaces/new?repo=<YOUR_USERNAME>/codespace-base. (Remove the <>)
    • Your setting should be as such: Settings
    • Wait a few minutes while the container builds. It will install:
      • Node.js & npm
      • Java 17
      • Git
      • http-server
      • VS Code extensions for HTML, CSS, JS, and Java
  3. Open the terminal

    • Check your tools (test commands in bash):
node -v
npm -v
java -version
http-server --version
git --version
  1. Test a simple project
mkdir web-test
echo "<h1>Hello Codespace</h1>" > web-test/index.html
cd web-test
http-server
  • Click the forwarded port link in Codespaces to see your page in the browser.

Tips

git add .
git commit -m "My first changes"
git push
  • If you did the last one, then: Don't be worried about your terminal breaking.

How to do this on your own :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published