Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
insights
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
insights
Commits
e0011e69
Commit
e0011e69
authored
Mar 27, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more to deployment install
parent
f9fae9af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
INSTALL.md
+11
-0
No files found.
INSTALL.md
View file @
e0011e69
...
@@ -7,6 +7,7 @@ First, decide on your directories:
...
@@ -7,6 +7,7 @@ First, decide on your directories:
*
ANALYTICS_DIR = directory where the analytics-experiments repo is cloned. (so something like /home/bob/analytics-experiments/)
*
ANALYTICS_DIR = directory where the analytics-experiments repo is cloned. (so something like /home/bob/analytics-experiments/)
Then, start to install:
Then, start to install:
*
cd BASE_DIR
*
git clone git@github.com:MITx/analytics-experiments.git
*
git clone git@github.com:MITx/analytics-experiments.git
*
cd analytics-experiments (this is the ANALYTICS_DIR)
*
cd analytics-experiments (this is the ANALYTICS_DIR)
*
sudo xargs -a apt-packages.txt apt-get install
*
sudo xargs -a apt-packages.txt apt-get install
...
@@ -20,6 +21,7 @@ Then, start to install:
...
@@ -20,6 +21,7 @@ Then, start to install:
*
pip install -r requirements.txt
*
pip install -r requirements.txt
*
mkdir BASE_DIR/db
*
mkdir BASE_DIR/db
*
cd ANALYTICS_DIR/anserv
*
cd ANALYTICS_DIR/anserv
*
Ensure that IMPORT_MITX_MODULES in settings.py is False .
*
python manage.py syncdb --database=default --settings=settings (this may fail, but that is fine)
*
python manage.py syncdb --database=default --settings=settings (this may fail, but that is fine)
*
python manage.py syncdb --database=local --settings=settings
*
python manage.py syncdb --database=local --settings=settings
*
mkdir ANALYTICS_DIR/staticfiles
*
mkdir ANALYTICS_DIR/staticfiles
...
@@ -36,8 +38,17 @@ Then, create a user:
...
@@ -36,8 +38,17 @@ Then, create a user:
*
user = User.objects.create_user("test","test@test.com","test") (run in the shell)
*
user = User.objects.create_user("test","test@test.com","test") (run in the shell)
If you are using the aws settings (ie deploying):
If you are using the aws settings (ie deploying):
*
MITX_DIR = directory where you clone MITX
*
cd ANALYTICS_DIR/anserv
*
cd ANALYTICS_DIR/anserv
*
source VIRTUALENV_DIR/bin/activate
*
python manage.py createcachetable django_cache --database=local
*
python manage.py createcachetable django_cache --database=local
*
cd BASE_DIR
*
git clone git@github.com:MITx/mitx.git
*
cd MITX_DIR
*
sudo xargs -a apt-packages.txt apt-get install
*
pip install -r pre-requirements.txt
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment