Skip to content

Commit

Permalink
init project files
Browse files Browse the repository at this point in the history
  • Loading branch information
ccyang314 committed Oct 20, 2018
1 parent 4f8702b commit 61b9f0e
Show file tree
Hide file tree
Showing 1,367 changed files with 205,469 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .meteor/.finished-upgraders
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This file contains information which helps Meteor properly upgrade your
# app when you run 'meteor update'. You should check it into version control
# with your project.

notices-for-0.9.0
notices-for-0.9.1
0.9.4-platform-file
notices-for-facebook-graph-api-2
1.2.0-standard-minifiers-package
1.2.0-meteor-platform-split
1.2.0-cordova-changes
1.2.0-breaking-changes
1.3.0-split-minifiers-package
1.4.0-remove-old-dev-bundle-link
1.4.1-add-shell-server-package
1.4.3-split-account-service-packages
1.5-add-dynamic-import-package
1.7-split-underscore-from-meteor-base
1 change: 1 addition & 0 deletions .meteor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
local
7 changes: 7 additions & 0 deletions .meteor/.id
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file contains a token that is unique to your project.
# Check it into your repository along with the rest of this directory.
# It can be used for purposes such as:
# - ensuring you don't accidentally deploy one app on top of another
# - providing package authors with aggregated statistics

1xf7spu1my9pye77d1hw
68 changes: 68 additions & 0 deletions .meteor/packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Meteor packages used by this project, one per line.
# Check this file (and the other files in this directory) into your repository.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.

[email protected] # Packages every Meteor app needs to have
[email protected] # Packages for a great mobile UX
[email protected] # The database Meteor supports right now
blaze-html-templates # Compile .html files into Meteor Blaze views
[email protected] # Reactive variable for tracker
[email protected] # Helpful client-side library
[email protected] # Meteor's client-side reactive programming library

[email protected] # CSS minifier run for production mode
[email protected] # JS minifier run for production mode
[email protected] # ECMAScript 5 compatibility for older browsers.
[email protected] # Enable ECMAScript2015+ syntax in app code

[email protected] # Allow all DB writes from clients (for prototyping)
mquandalle:jade
[email protected]
[email protected]
templates:array
bojicas:inflections
jparker:crypto-md5
[email protected]
copleykj:livestamp
jagi:reactive-array
mizzao:user-status
udondan:slick
mouse0270:bootstrap-notify
natestrauser:animate-css
[email protected]
fortawesome:fontawesome
okgrow:analytics
jparker:crypto-aes
artjc:flexslider
edgee:slingshot
materialize:[email protected]
pagebakers:ionicons
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
kljensen:coursera
kljensen:accounts-coursera
nolimits4web:swiper
[email protected]
[email protected]
[email protected]
accounts-openhumans
[email protected]
tushark:google-api
[email protected]
nimble:restivus
percolate:synced-cron
pandawhisperer:accounts-reddit
[email protected]
iron:router
fourseven:scss
mizzao:timesync
practicalmeteor:mocha
practicalmeteor:chai
dispatch:mocha-phantomjs
autopublish
2 changes: 2 additions & 0 deletions .meteor/platforms
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
server
browser
1 change: 1 addition & 0 deletions .meteor/release
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[email protected]
161 changes: 161 additions & 0 deletions .meteor/versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
artjc:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
bojicas:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
copleykj:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
dispatch:[email protected]
dispatch:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
edgee:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
fortawesome:[email protected]
fourseven:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
jagi:[email protected]
jparker:[email protected]
jparker:[email protected]
jparker:[email protected]
jparker:[email protected]
jparker:[email protected]
jparker:[email protected]
jparker:[email protected]
jparker:[email protected]
[email protected]
kljensen:[email protected]
kljensen:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
materialize:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
mizzao:[email protected]
mizzao:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
momentjs:[email protected]
[email protected]
[email protected]
[email protected]
mouse0270:[email protected]
mquandalle:[email protected]
mquandalle:[email protected]
mrt:[email protected]
natestrauser:[email protected]
nimble:[email protected]
nolimits4web:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
okgrow:[email protected]
[email protected]
pagebakers:[email protected]_1
pandawhisperer:[email protected]
pandawhisperer:[email protected]
percolate:[email protected]
practicalmeteor:[email protected]_1
practicalmeteor:[email protected]_2
practicalmeteor:[email protected]_6
practicalmeteor:[email protected]
practicalmeteor:[email protected]_2
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
simple:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
stevezhu:[email protected]
templates:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
tmeasday:[email protected]
[email protected]
tushark:[email protected]
[email protected]
udondan:[email protected]_1
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
16 changes: 16 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Gut Instinct Contributing guidelines

## How to become a contributor and submit your own code

### Contributing code

If you have improvements to Gut Instinct, send us your pull requests! For those
just getting started, Github has a [howto](https://help.github.com/articles/using-pull-requests/).

These are issues that we believe are particularly well suited for outside contributions, often because we probably won't get to them right now. If you decide to start on an issue, leave a comment so that other people know that you're working on it. If you want to help out, but not alone, use the issue comment thread to coordinate.

### Contribution guidelines and standards

Before sending your pull request for
[review](https://github.com/DesignAtLarge/gutgame-proto/pulls),
make sure your changes are consistent with the guidelines and follow the Gut Instinct coding style.
87 changes: 87 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
[![CircleCI](https://circleci.com/gh/DesignAtLarge/gutgame-proto.svg?style=svg&circle-token=09c9f5ce4219d2bf02d113c2d2acc9fd397902cf)](https://circleci.com/gh/DesignAtLarge/gutgame-proto)
-----------------
<div align="center">
<img src="https://s3.amazonaws.com/gut-instinct/github_readme_logo_min.png"><br><br>
</div>

-----------------
[Gut Instinct](http://gutinstinct.ucsd.edu/info) - Collaboratively creating scientific theories!
==================================================

Welcome
--------------------------------------
Gut Instinct is currently under deployment. Stay tuned to see more results!

Contribution Guides
--------------------------------------
1. [Getting Involved](http://gutinstinct.ucsd.edu/info)
2. [Core Style Guide](https://google.github.io/styleguide/jsguide.html)
3. Read Gut Instinct [Contribution Guidelines](https://github.com/DesignAtLarge/gutgame-proto/blob/mendel/CONTRIBUTING.md)

Environments in which to use Gut Instinct
--------------------------------------
- Browser support: If you are using Internet Explorer or Safari, you may experience some problems using the system. We recommend that you use other, free browsers, like [Chrome](https://www.google.com/chrome/browser/desktop/index.html) or [Firefox](https://www.mozilla.org/en-US/firefox/new/) to visit Gut Instinct.
- Screen size: We recommend you to use screen larger than 1366x768.

What you need to build your own Gut Instinct
--------------------------------------
- Web Server: Node.js >= 4.6, npm >= 2.15.9, Meteor >= 1.4
- Database: MongoDB
- Email: [Deploy and config Email Notification System](http://github.com/)
- File Storage: AWS S3
- Media Storage: YouTube

How to build your own Gut Instinct
--------------------------------------
### Building Gut Instinct on Internet?
TODO: Update deployment google doc to here.

#### How to populate starter DB to remote server (mlab)?
+ Step 1: Make sure ```DB_CONFIG.py``` is in the ```INPROGRESS/scripts/POPULATE``` folder, and it is up to date. This file is ignored in git system due to security purpose.

+ Step 2: Open ```DB_CONFIG.py``` in text editor, comment out all ```DB_AUTH_URL``` and ```DB_INSTANCE```. Only leave the db info strings you want to populate into.

+ Step 3: ```cd``` into ```INPROGRESS/scripts/POPULATE``` folder.

+ Step 4: Run these four python scripts in your terminal (must in this order):

* ```python 0_populate_guide_questions.py heroku```
* ```python 1_populate_tags.py heroku```
* ```python 2_populate_questions.py heroku```
* ```python 3_populate_personal_questions.py heroku```
* ```python 4_populate_galileo_intuition.py heroku```
* ```python 5_populate_galileo_experiments.p heroku```
* ```python 6_populate_test_questions.py heroku```



### Building Gut Instinct on localhost?
+ Step 1: Make sure ```settings_dev.json``` is in the ```INPROGRESS``` folder, and it is up to date. This file is ignored in git system due to security purpose.

+ Step 2: ```cd``` into ```INPROGRESS``` folder, and run ```npm run start``` in your terminal.

+ Step 3: Before open ```http://localhost:3000```, make sure all data is ready in DB, and all the document fields are updated.

#### How to populate starter DB to localhost?

+ Step 1: Make sure ```DB_CONFIG.py``` is in the ```INPROGRESS/scripts/POPULATE``` folder, and it is up to date. This file is ignored in git system due to security purpose.

+ Step 2: ```cd``` into ```INPROGRESS/scripts/POPULATE``` folder.

+ Step 3: Run these four python scripts in your terminal (must in this order):

* ```python 0_populate_guide_questions.py```
* ```python 1_populate_tags.py```
* ```python 2_populate_questions.py```
* ```python 3_populate_personal_questions.py```
* ```python 4_populate_galileo_intuition.py```
* ```python 5_populate_galileo_experiments.py```
* ```python 6_populate_test_questions.py```

Running Tests
--------------------------------------
TBD

Questions?
--------------------------------------
If you have any questions, please feel free to contact us by sending us an email to gutinstinct-at-ucsd-dot-edu
Loading

0 comments on commit 61b9f0e

Please sign in to comment.