Code Monkey home page Code Monkey logo

frappe_codespace's Introduction

Setup

It's ridiculously easy -

open-with-codespaces

Setup happens in two steps -

  1. Github will first create a codespace
  2. Once the codespace is initialized (you will see VSCode UI) a script runs that will -
    1. Create a bench with Frappe develop branch and configure it
    2. Create a new site called dev.localhost with the password admin
    3. Enables developer mode, sets dev.localhost as default site

Features

  1. A fresh bench is initialized with the latest Frappe develop code along with a new site when the codespace is initially created
  2. Pre-configured launch.json with the following options -
    1. Web Server
    2. 3 Workers
    3. Bench Watch
  3. Pre-installed Extensions
  4. Pre-configured SQLTools

Notes

  • The init script takes some time, so you can track the progress by selecting the "Codespaces : View Creation Log" from the command palette. Ideally you should wait until this process is completed.
  • The Procfile generated includes bench serve so bench start will work as usual, however if you'd like to use the debugger, you want to remove the bench serve line in the Procfile and run Bench Web from VSCode instead
  • I've configured the settings so that the Python extension points to the correct python in the venv be default, however if you're having issues with VSCode's linter behaving badly or the launch options not working (frappe not found) do check which python binary VSCode is using
  • Github Codespaces works with the native version of VSCode for virtually native experience, you only need to install the Codespaces extension and configure it to connect to your Codespace. I recommend doing this over using the browser.

frappe_codespace's People

Contributors

ankush avatar vjfalk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.