Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News Sign UpSign In
| Download

Developing SageMathCloud on a Mac

Project: old SMC DEV
Views: 164
md(open('SMC-on-OS-X.md').read())

Building Stand-Alone SMC on OS X

Tested on OS X 10.9.5 with MacPorts

Warning: This setup is for exploring and developing SMC code. It's not a complete, working installation of SMC (yet).

notes by Hal Snyder

References

Python & Git Prerequisites

port installed git python27 py27-pip | grep active git @2.6.2_1+credential_osxkeychain+doc+pcre+perl5_16+python27 (active) py27-pip @7.1.2_0 (active) python27 @2.7.10_3 (active) sudo port select --set python python27 sudo port select --set pip pip27

Install Packages Outside of MacPorts

Clone the SMC Repo

I put all my repos under ~/Git.

cd ~/Git git clone https://github.com/sagemathinc/smc cd smc/src . smc-env sudo pip install ~/Git/smc/src/smc_pyutil/ ./install.py project npm run make

Launch SMC

In three separate terminal windows:

. smc-env;cd dev/laptop;./start_rethinkdb.py . smc-env;cd dev/laptop;./start_hub.py . smc-env;cd dev/laptop;./start_webpack.py

Wait a minute or two, then kill and restart the start_hub process.

Point browser at http://localhost:5000

###