Skip to content

builder for lots of sandboxes, so it can be used in e.g. g8os

License

Notifications You must be signed in to change notification settings

ramezsaeed/developer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

development environment for jumpscale 9

  • please use this development environment to play & develop with jumpscale 9
  • it uses docker and the goal is to get it to work on ubuntu, windows & osx

to see an install screencast

init

curl https://raw.githubusercontent.com/Jumpscale/developer/master/jsinit.sh?$RANDOM > $TMPDIR/jsinstall.sh; sh $TMPDIR/jsinstall.sh

Jumpscale 8.2 development env

curl -L https://tinyurl.com/js82installer | bash -s <Your zerotier network id>

to see interactive output do the following in separate console

tail -f /tmp/lastcommandoutput.txt

Jumpscale 9.0 development env

open a new console, this should make sure the env variables are set

jsinstall

this will configure docker & install jumpscale9

to see interactive output do the following in separate console

tail -f /tmp/lastcommandoutput.txt

to login into the development machine

ssh root@localhost -p 2222
#or
ssh root@zerotierNetworkId

to start with shellcmds

js
  • this will change, is just to get started

recommended tools

  • all jumpscale code is checked out under /opt/code in development env or in ~/code/...
  • use a ide like atom for development on this code, sourcetree is a good tool for git manipulation
  • over ssh you can play with the code in the docker
  • to push changes to a remote host (remote development) use j.tools.develop...

see other scripts in /scripts dir

  • prepare.sh : execute this to make sure that your local environment is up to date
  • js_builder.sh : build jumpscale 8 on branch 8.2.0 inside the docker with name js

cleanup

#remove all old dockers
docker rm $(docker ps -a -q)

init tools

#sets the initial config
python3 -c "from JumpScale import j;j.do.initEnv()"
#generates the init list
python3 -c "from JumpScale import j;j.tools.jsloader.generate()"
#get a shell now with autogenerated init
python3 -c "from JumpScale.init import j;from IPython import embed;embed()"

to remove homebrew and /opt on mac osx

curl https://raw.githubusercontent.com/Jumpscale/developer/master/scripts/osx_reset_all.sh?$RANDOM > $TMPDIR/resetall.sh;bash $TMPDIR/resetall.sh

About

builder for lots of sandboxes, so it can be used in e.g. g8os

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages