1.启动虚拟机:vagrant up
登录虚拟机:vagrant ssh
2.sudo su root
rm -r mongod.lock
启动mongodb(mongo/service mongodb start)
3.启动项目:sudo su edxapp
paver devstack lms/studio (--fast)
(Destroy之后启动项目:
1.启动虚拟机:vagrant up
登录虚拟机:vagrant ssh
2.sudo su root
rm -r mongod.lock
3.mongo:copyroot@precise64:/edx/var/mongo/mongodb# ls
root@precise64:/edx/var/mongo/mongodb# cp -r -f /edx/app/edxapp/edx-platform/sql/edxapp.* .
root@precise64:/edx/var/mongo/mongodb# service mongodb start
chown -Rf mongodb:mongodb ./*
chmod -Rf 777 ./*
4. mysql: import
)
汉化:
1.apt-get update
2.sudo apt-get install language-pack-zh-hans-base
3.sudo dpkg-reconfigure locales