Fakultas Ilmu Komputer UI

Commit dba73b09 authored by Zamil Majdy's avatar Zamil Majdy
Browse files

#140382397 Update Readme

parent 3df0e08d
......@@ -4,6 +4,7 @@
* Node + Npm (https://nodejs.org/dist/v6.9.5/node-v6.9.5-x64.msi)
* Python + Pip (https://www.python.org/ftp/python/3.6.0/python-3.6.0-embed-amd64.zip and https://pip.pypa.io/en/stable/installing/)
* postgreSQL
## Installation
......@@ -11,21 +12,17 @@
* `cd kape`
* `npm install`
* `pip install -r requirements.txt`
* `npm run webpack`
* `python manage.py runserver`
For Windows you need to run `npm run webpack` and `python manage.py runserver` in different terminal.
## Migrating the database
`python manage.py migrate`
* `psql` insert these queries:
* `create user kape password 'kape';` to create user.
* `create database kape;` to create database.
* `python manage.py migrate` To migrate all the database
Now go to localhost:8000 and you'll see the App running!
## Database
## Run Development Mode App
Install postgreSQL
Run this quert `create user kape password 'kape' createdb` to create database and user.
Run `python manage.py migrate`
* `npm run webpack`
* `python manage.py runserver`
For Windows you need to run `npm run webpack` and `python manage.py runserver` in different terminal.
This project uses [Django Webpack Loader](https://github.com/owais/django-webpack-loader).
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment