Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arpit2438735/feature-request
Demo link
https://github.com/arpit2438735/feature-request
angular ecmascript flask
Last synced: 19 days ago
JSON representation
Demo link
- Host: GitHub
- URL: https://github.com/arpit2438735/feature-request
- Owner: arpit2438735
- Created: 2016-08-27T10:10:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-09T15:22:16.000Z (over 8 years ago)
- Last Synced: 2024-11-14T14:47:23.521Z (3 months ago)
- Topics: angular, ecmascript, flask
- Language: Python
- Homepage: http://159.203.74.60 (offline now)
- Size: 49.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Feature Request Application README
[![Build Status][travis-image]][travis-url]
##Technology stack
- PostgreSQL
- Python 2.x
- Flask
- SQLAlchemy
- AngularJs
- Docker Machine(Deployment)## Installation
```
# Step 1: install virtualenv
> pip install virtualenv# Step 2: Initialize virtualenv
> virtualenv# Step 3: Activate virtualenv
> source bin/activate# Step 4: Setup project
> python setup.py install
# Step 5: Install node packages(make sure you have higer node version>4)
> npm install
# Step 6: Build css and js file
> npm run build && npm start
```
## Creating the database
The application uses postgres as the database driver. Make sure that you've got postgres installed on your system before you attempt any of the following steps.
```
# Step 1: access the postgres system user
> sudo su postgres# Step 2: enter the database
> psql# Step 3: create features database user
postgres=# create role features with login;# Step 4: create features database
postgres=# create database features with encoding 'utf-8';# Step 5: grant permissions to features user on features database
postgres=# grant all privileges on database features to features;# Step 7: grant permissions to features tables to features user on features database (be sure to do this with the features database selected)
postgres=# \c features
postgres=# grant all privileges on all tables in schema public to features;
```## Setup database and initial values in database
```
# Step 1: Change config for postgres sql
> vi feature_request/config/default.yml
# Step 2: Migrate all database
> python manage.py db upgrade
# Step 3: Inorder to have some intial values in db(optional)
> python manage.py add
```
## Run- To run flask server
```
python manage.py runserver
```- To run test cases and coverage
```
python tests.py test
python tests.py coverage
npm run test
```[travis-image]: https://travis-ci.org/arpit2438735/feature-request.svg?branch=master
[travis-url]: https://travis-ci.org/arpit2438735/feature-request