Coder Social home page Coder Social logo

basic-setup's Introduction

basic-setup

Basic box setup, it's fairly customizable using bash and will work on gui-based and headless systems. Open a pr if you want something added.

Goal

NOTE: This package will be moving to primarily golang instead of bash in the near future. This is primarily for portability, extensibility, and reusability.

This will create a good basic setup for development workstations on Linux/Mac/WSL, given a label (as used in ./resources/install/index.json '.packages[].labels').

NOTE: it's currently only regularly tested on Linux, but if you find issues on any os please report them.

If You Are New

Run your Shell Install

After installing use the command cs and try the commands listed there. It contains links to documents, roadmaps, tutorials, and other cheatsheet commands. The developer roadmaps listed there can be very helpful, as can the suggestions on what they are used for.

Installation

All of these will clone the repo and run the init script

Install Using bash

Clones to ~/.basic-setup/basic-setup

curl -1fLsq https://raw.githubusercontent.com/mrlunchbox777/basic-setup/main/basic-setup.sh | sh

Environment Variables

Variable processing order is: environment file, environment variables, arguments (last wins).

Manage Using .env

This is the best way to manage environment variables for this tool.

If you've already cloned the repo you can just copy the .env

mkdir -p ~/.basic-setup
cp template.env ~/.basic-setup/.env

Modify the .env file using the instructions listed there.

Testing

You can run headless tests with the following

Testing Headless

docker run -it ubuntu

then run

curl -1fLsq https://raw.githubusercontent.com/mrlunchbox777/basic-setup/main/basic-setup.sh | sh

Testing GUI

You can run gui tests with VirtualBox

Golang

  • make test
  • make coverage

Other Projects

As an orchestrator basic-setup relies heavily on external projects. When imported, they may or may not be specifically credited below or in the bsctl README; however, when code snippets are used, as much as possible, in no particular order, they will be listed with a link to their license below. Please report all missing attributions in an issue).

Contact us

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.