https://github.com/mavagio/zeeguu-exercises
JavaScript application for Zeeguu-API
https://github.com/mavagio/zeeguu-exercises
es6 excercises javascript language-excercises language-learning
Last synced: about 2 months ago
JSON representation
JavaScript application for Zeeguu-API
- Host: GitHub
- URL: https://github.com/mavagio/zeeguu-exercises
- Owner: mavagio
- License: mit
- Created: 2016-12-01T21:27:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-18T12:38:12.000Z (about 8 years ago)
- Last Synced: 2024-10-14T15:21:52.078Z (12 months ago)
- Topics: es6, excercises, javascript, language-excercises, language-learning
- Language: JavaScript
- Homepage: https://zeeguu.herokuapp.com/
- Size: 11.1 MB
- Stars: 0
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
An adaptive online language practice platform
=====
[](https://travis-ci.org/martinavagyan/zeeguu-exercises)
[](https://coveralls.io/github/martinavagyan/zeeguu-exercises?branch=master)
[](https://gemnasium.com/github.com/martinavagyan/zeeguu-exercises)
[](https://nodesecurity.io/orgs/martinavagyan/projects/69db0b36-c5a2-4f40-bafd-79775a774854)
[](https://martinavagyan.github.io/zeeguu-exercises/)
=====Running locally
------------------------------------First clone the repository from
### Front-end
The front end uses Node.js. Referer here for further directions https://nodejs.org/en/download/.
After the installation of Node.js was successful, navigate to the project folder and run:
```
npm install
npm run build
```
If the installation was successful all the necessary files should be created.
### Back-end
Note: you need to have python 3.6.1 installed, on your machine.
The back end uses *Flask Framework*. The following tutorial shows, how to set up
*virtualenv* and *Flask*:
Note: to install virtual, enviroment on windows run:
pip install virtualenv
To install the virtual environment for the project, navigate to the folder and run:virtualenv < name of the folder>
After installing virtual environment on the project folder, activate it
using:venv/Scripts/activate
**Make sure the environment is activated before proceeding with the
instructions.**
Install all dependencies from requriments.txt
pip install -r requirements.txtIn case you add new dependencies, do not forget to update the requirements.txt file
pip freeze > requirements.txt
A batch file (*batchfile*.*bat*) is provided to easily activate the virtual environment and start the localhost, given that all the previous installations are successfully completed. You can access the app via:http://127.0.0.1:5000/
The application will redirect to Zeeguu login page if the cookie for the session is not set yet. To set a test session in the cookies, go to the browser and run :
http://127.0.0.1:5000/debug
This will set a test cookie for local debugging.Heroku Deployment
-----------------The project is deployed on the *Heroku* server[1]. The
deployment is connected to Github repository: https://github.com/martinavagyan/zeeguu-exercises
The link to deployed app: https://zeeguu.herokuapp.com/