https://github.com/setsal/masl
Spread the creating !
https://github.com/setsal/masl
django python react reactjs
Last synced: 29 days ago
JSON representation
Spread the creating !
- Host: GitHub
- URL: https://github.com/setsal/masl
- Owner: setsal
- Created: 2018-07-03T04:12:40.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-25T13:41:48.000Z (over 7 years ago)
- Last Synced: 2025-03-07T15:40:31.543Z (about 1 year ago)
- Topics: django, python, react, reactjs
- Language: Python
- Homepage:
- Size: 7.09 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# MASL TOPIC
Cheers OAO/

## Getting started
Install dependencies:
``` bash
$ git clone git@github.com:setsal/MASL.git
$ cd MASL
$ npm install
$ pip install -r requirements.txt
```
Run developement server:
``` bash
$ node server.js
$ python manage.py runserver
```
## Database
Create DB file with django
- ``$ python manage.py migrate``
Insert Data:
1. Facebook API
- Run `pybin/fb_fetch/crawler_and_insert.py`
2. News Data
- Run `pybin/media_fetch/news_transfer.py`
Reset & Clear All Data in DB ( recommend ):
- Run `reset_table.py` in `fb_fetch` or `media`
Reset Migration ( if it is necessary ):
1. Remove target table in database
2. run the ResetMigration.sh script
## Cautions:
- Some Package need Microsoft Visual Studio C++ 14.0 package, you must install it before using. ( e.g. WordCloud )
1. Install Via Visual Studio
2. Install Via binary .whl file
## Contributors
- setsal Lan
- MeteorV Hsu
- Andy Chu
- Momo Zhang