Code Monkey home page Code Monkey logo

contributing's People

Contributors

cloudwheels avatar

Stargazers

 avatar

Watchers

 avatar  avatar

contributing's Issues

Additonal tools & config tasks for dev env

  • Configure git email & name


git flow?

-DNS tools
sudo apt-get install dnsutils -y

?Gen a release key

May not be possible, so use:
Create debug keystore...

keytool -genkey -v -keystore ~/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000

List

keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android

?Gen a release key:

keytool -genkey -v -keystore my-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

Configure grade daemon
https://cloudwheels.github.io/TIL/improve-gradle-performance/
Create a ~/.gradle/gradle.properties file.

Add org.gradle.daemon=true to allow/encourage reuse from previous builds


Node (with NVM) plus yarn, ?global dev packages eg. nodemon

To install or update nvm, you should run the install script. To do that, you may either download and run the script manually, or use the following cURL or Wget command:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash

Running either of the above commands downloads a script and runs it. The script clones the nvm repository to ~/.nvm, and adds the source lines from the snippet below to your profile (~/.bash_profile, ~/.zshrc, ~/.profile, or ~/.bashrc).

  • might be worth setting this (but seems to add to ~/.bashrc, so OK
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

Note: If the environment variable $XDG_CONFIG_HOME is present, it will place the nvm files there.

Note: You can add --no-use to the end of the above script (...nvm.sh --no-use) to postpone using nvm until you manually use it.

You can customize the install source, directory, profile, and version using the NVM_SOURCE, NVM_DIR, PROFILE, and NODE_VERSION variables. Eg: curl ... | NVM_DIR="path/to/nvm". Ensure that the NVM_DIR does not contain a trailing slash.

NB. The installer can use git, curl, or wget to download nvm, whatever is available.

Note: On Linux, after running the install script, if you get nvm: command not found or see no feedback from your terminal after you type command -v nvm, simply close your current terminal, open a new terminal, and try verifying again.

Default global packages from file while installing

If you have a list of default packages you want installed every time you install a new version, we support that too -- just add the package names, one per line, to the file $NVM_DIR/default-packages You can add anything npm would accept as a package argument on the command line.

# $NVM_DIR/default-packages
# examples in install instructions:
rimraf
[email protected]
stevemao/left-pad
####
# SET UP FILE(S)  IN THIS REPO WITH POSSIBLE DEFAULT PACKAGES
firebase-tools
###

Install some versions

last one will be the default (also aliased as node)
Probably need 8 and 10 for e.g. cloud function support


?Docker, Portainer, ???config for external image storage

[setup-env-flutter] repositories.cfg could not be loaded

Warning: File /home/xxxx/.android/repositories.cfg could not be loaded.

Non-fatal warning.

See https://askubuntu.com/questions/885658/android-sdk-repositories-cfg-could-not-be-loaded

The solution: probably to create the file. See https://askubuntu.com/a/1078784

Create the file ~/.android/repositories.cfg

touch ~/.android/repositories.cfg

Then add the following lines of text in that file, for example by opening it with a text editor

nano ~/.android/repositories.cfg and typing these lines, then saving the file.
### User Sources for Android SDK Manager
#Fri Nov 03 10:11:27 CET 2017 count=0

After that you can use these commands

./Android/Sdk/tools/bin/sdkmanager --update
./Android/Sdk/tools/bin/sdkmanager --licenses

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.