Skip to content

wooruang/env_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

env_setup

Automate development environment setting.

How to setup

* Setup Pyenv

Install pyenv (Only will install Pyenv.)

$ bash pyenv/pyenv_install.sh

Install python with pyenv (Will install Pyenv and Python)

$ bash pyenv/install_python.sh {PYTHON_VERSION}

# example
$ bash pyenv/install_python.sh 3.7.0

Install virtualenv with pyenv (Will install Pyenv, Python and virtualenv)

$ bash pyenv/make_new_virtualenv.sh {PYTHON_VERSION} {VIRTUALENV_NAME}

# example
$ bash pyenv/make_new_virtualenv.sh 3.7.0 test-env

* Setup Django

Install Django (If Pyenv, python and virtualenv are not exist, It will install them.)

$ bash django/django_install.sh {PYTHON_VERSION} {VIRTUALENV_NAME}

# example
$ bash django/django_install.sh 3.7.0 test-env

Strat Django Project and App (If Pyenv, python, virtualenv and a package of Django are not exist, It will install them.)

$ bash django/start_django_project.sh {PYTHON_VERSION} {VIRTUALENV_NAME} {PROJECT NAME} {APP NAME}

# example
$ bash django/start_django_project.sh 3.7.0 test-env test_proj test_app

* Setup Node with Yarn

Install yarn

$ bash node/install_yarn.sh 

* Setup Vuejs

Install vue-cli

$ bash vue/install_vue-cli.sh 

* Setup Electron

Setup Electron-vue

$ bash electron/start_electron-vue_project.sh {PROJECT_NAME}

# Example.
$ bash electron/start_electron-vue_project.sh ttt
Info: yarn is already installed.
- Installing vue-cil ..
yarn global v1.16.0
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
      - vue
      - vue-init
      - vue-list
Done in 0.71s.
- Done installing vue-cil ..
- Creating a electron-vue project(ttt) ...

? Target directory exists. Continue? Yes
? Application Name ttt
? Application Id com.example.yourapp
? Application Version 0.0.1
? Project description An electron-vue project
? Use Sass / Scss? Yes
? Select which Vue plugins to install (Press <space> to select, <a> to toggle all, <i> to invert selection)axios, vue-electron, vue-router, vuex, vuex-electron
? Use linting with ESLint? Yes
? Which ESLint config would you like to use? Standard
? Set up unit testing with Karma + Mocha? Yes
? Set up end-to-end testing with Spectron + Mocha? Yes
? What build tool would you like to use? builder
? author wooruang <[email protected]>

   vue-cli · Generated "ttt".

---

All set. Welcome to your new electron-vue project!

Make sure to check out the documentation for this boilerplate at
https://simulatedgreg.gitbooks.io/electron-vue/content/.

Next Steps:

  $ cd ttt
  $ yarn (or `npm install`)
  $ yarn run dev (or `npm run dev`)

- Done Creating a electron-vue project(ttt) ...

* Setup Bazel

Install Bazel (Support only linux and MacOS)

$ bash bazel/install-bazel.sh 

* Setup Eclipse Che

Install Che on docker

$ cd che/
$ docker-compose up -d

* Setup Code Server IDE

https://github.com/cdr/code-server.git

Install Code Server IDE

$ bash install-code-server.sh

Register Code Server IDE for Ubuntu

$ cd code-server

Change `$HOME` to your home path or your code-server's path in code-server/code-server.service
and then Change `$PASSWORD` to your password in code-server/code-server.service

$ bash register-code-server.sh

About

Automate development environment setting.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published