-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
51 lines (30 loc) · 2.1 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
************************************
INSTALLATION
************************************
Please refer to https://code.google.com/p/oppia/wiki/GettingStarted for extensive installation instructions. Here is just a short summary for developers who would like to contribute:
First, clone the Oppia repo. We suggest you make a directory called opensource/ within your home folder (mkdir opensource). Then do
cd opensource/
and inside there, follow the instructions at the bottom of this page
https://code.google.com/p/oppia/source/clones
to make your own copy of the Oppia repo on the code.google.com server. This means you will now have a separate repo (say oppia-yourname). You can make any changes you like to this test repo, and they will not affect the original repo (unless you try and push them to the main repo later).
Now go to the code.google.com page for your repo and git clone it to your own computer. The instructions are at
https://code.google.com/r/[YOUR_REPO_NAME]/source/checkout
We suggest you follow the method using .netrc, since it is more convenient. After editing your ~/.netrc file, run
git clone https://code.google.com/r/[YOUR_REPO_NAME]/
You might have to change the name of the downloaded directory to oppia,
mv [YOUR_REPO_NAME] oppia
Then, navigate to oppia/ and install Oppia with
bash scripts/start.sh
************************************
TESTING THE INSTALLATION
************************************
Run `bash scripts/test.sh' and `bash scripts/run_js_tests.sh' from the oppia/ folder.
************************************
TROUBLESHOOTING
************************************
Q: What should I do if I get a error like this when running start.sh?
ERROR: cannot verify github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV CA-1':
Unable to locally verify the issuer's authority.
To connect to github.com insecurely, use `--no-check-certificate'.
A: Open scripts/install_third_party.sh with your favorite text editor and replace
`wget' by `wget --no-check-certificate' everywhere. Then run `bash scripts/start.sh' again.