Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emptymalei/sunspot-academy
research experience sharing
https://github.com/emptymalei/sunspot-academy
academia
Last synced: 12 days ago
JSON representation
research experience sharing
- Host: GitHub
- URL: https://github.com/emptymalei/sunspot-academy
- Owner: emptymalei
- License: mit
- Created: 2018-11-07T18:08:51.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-11T11:20:04.000Z (about 3 years ago)
- Last Synced: 2024-11-02T05:05:23.323Z (2 months ago)
- Topics: academia
- Language: Vue
- Homepage: http://sunspot.kausalflow.com
- Size: 1.01 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# sunspot.academy
## Installation
* Prepare Python Environment
```
pipenv install --dev
pipenv shell
```
* Prepare JavaScript Environment
```
yarn install
```
* Start Backend Server
```
python run.py
```
* Start Webpack Server
```
yarn serve
```## Deploy
This website is currently hosted on Heroku.
* Create new app on heroku and connect the repo
## Development
This website is built on flask and vue+webpack. The backend located at `app/*` is the API that provides the data interface. The frontend located at `src/*` and `public/*` is in charge of the interactions with API and the user interfaces.
`yarn install` will install the packages specified in the file `package.json`. `yarn build` will generate the static pages and place them in the folder `dist`. Then flask will render these frontend assets live when we excute `python run.py`.
## References
1. [gtalarico/flask-vuejs-template](https://github.com/gtalarico/flask-vuejs-template)
2. [Flask + MongoDB Tutorial](https://www.youtube.com/watch?v=upGiAG7-Sa4)