Open wilzbach opened 9 years ago
I haven't provided step-by-step instructions yet. I did just add a README.md:
https://github.com/sagemath/cloud/blob/master/README.md
Also, it's critical to look at build.py, which is a command line script that downloads and installs everything.
In theory, someday, setup will be the following:
. salvus-env
./build.py --build_all
ipython
In [1]: import admin; reload(admin); s = admin.Services('conf/deploy_local2/')
In [2]: s.start('all')
Hi,
I saw that you just recently released the code for this awesome project to the general public.
It would be super if you could provide some notes for developers who want to contribute to this project..
My experience
I started to play with SMC and I thought I share my experience.
Small gotchas
export SAGEMATHCLOUD=$(pwd)
./make_coffee
to compile (will require global uglify-js + alias for it linking to uglifyjs2 )static/index.html
cqlsh -f db_schema.cql
My experience
1) project_server
coffee project_server.coffee
seems to work after these tiny modifications
2) Other services
console_server
: (same modifications as for project_server)compute_server
: (same modifications as for project_server)local_hub
: Everything seems also to be ok when I use the legacy express 3hub
: gives meunconfigured columnfamily
- probably sth is wrong with my cassandra installation (coffee hub.coffee nodaemon --port 5004 --tcp_port 5005
)bup_server
: I needed to create a filebup/conf/bup_server_id
. + and insert my rootdir path line 70 (ROOTDIR = process.env['SAGEMATHCLOUD'] + '/bup')storage_server
: I needed a relative rootdir + two files (secrets/storage/storage_server
and *data/storage/conf/compute_id
)sage --python sage_server.py -p 6001
(I had to disable the cython magic)python2 sagenb_server.py --address 0.0.0.0 --path datadir
open_viewer
-> should this be replaced with automatic_login? (* requires writeable datadir)test_coffee
: requires globalnode-sass
. returns: "FAILURES: 17/51 assertions failed (3170ms)."