Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.

Commit 07baa6f

Browse files
committed
Merge pull request #318 from azizur/update-readme
Update readme to help new developers
2 parents 5eb61c1 + edc4b42 commit 07baa6f

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

README.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,54 @@
1-
[![Stories Ready](https://badge.waffle.io/quran/quran.com-frontend.svg?label=ready&title=Ready)](http://waffle.io/quran/quran.com-frontend)
2-
[![Stories In Progress](https://badge.waffle.io/quran/quran.com-frontend.svg?label=in%20progress&title=In%20Progress)](http://waffle.io/quran/quran.com-frontend)
3-
[![Stories In Review](https://badge.waffle.io/quran/quran.com-frontend.svg?label=in%20review&title=In%20Review)](http://waffle.io/quran/quran.com-frontend)
41

2+
# Quran.com
53

6-
## Quran.com
74
This is the project soon to be the Quran.com facing site. This is built in
85
Reactjs + Redux + Expressjs + Webpack. It is isomorphic (javascript shared
96
between both the server and the client) for SEO reasons.
107

11-
[![Dependency Status](https://david-dm.org/quran/quran.com-frontend.svg)](https://david-dm.org/quran/quran.com-frontend)
8+
[![Stories Ready](https://badge.waffle.io/quran/quran.com-frontend.svg?label=ready&title=Ready)](http://waffle.io/quran/quran.com-frontend)
9+
[![Stories In Progress](https://badge.waffle.io/quran/quran.com-frontend.svg?label=in%20progress&title=In%20Progress)](http://waffle.io/quran/quran.com-frontend)
10+
[![Stories In Review](https://badge.waffle.io/quran/quran.com-frontend.svg?label=in%20review&title=In%20Review)](http://waffle.io/quran/quran.com-frontend)
11+
12+
13+
[![Dependency Status](https://david-dm.org/quran/quran.com-frontend.svg)](https://david-dm.org/quran/quran.com-frontend) [![devDependency Status](https://david-dm.org/quran/quran.com-frontend/dev-status.svg)](https://david-dm.org/quran/quran.com-frontend#info=devDependencies)
1214
[![Code Climate](https://codeclimate.com/github/quran/quran.com-frontend.png)](https://codeclimate.com/github/quran/quran.com-frontend)
1315

14-
#### Getting started
16+
## Getting started
1517
Simply clone this repo, then run `npm install` to install all the required node_modules.
1618
From there, you are ready to go!
1719

18-
#### Developing
19-
To start the app, run `npm run dev` which will
20-
run both the server and the client (webpack) to compile upon edits. Go to localhost:8001 in your browser, not 8000 (that is just the express server).
20+
## Developing
21+
Unless you have the backend API running locally, you will need to update the `API_URL`, in `development.env` file, from `localhost` to `api.quran.com`. Leave the port number same.
22+
23+
To start the app, run `npm run dev` which will run both the server and the client (webpack) to compile upon edits. Go to http://localhost:8001 in your browser, not 8000 (that is just the express server).
2124

22-
#### Tests
25+
## Tests
2326
Run `npm run test:watch` to run the tests locally and watching. Otherwise use `npm run test` for CI level tests.
2427

2528
We also have nightwatch function tests. You can install nightwatch globally and can run tests like this:
2629
```
2730
nightwatch --test tests/functional/specs/Index_spec.js
2831
```
2932

30-
#### Backend
33+
## Backend
3134
Current at: https://github.com/quran/quran-api-rails
3235
DB is private, message me for acceess.
3336

34-
#### How to contribute
37+
## How to contribute
3538
Fork this repo, then create a PR for specific fixes, improvements, etc. We trust that
3639
you will not steal this, this is at the end of the day for the sake of Allah and we
3740
all have good intentions while working with this project. But I must stress, stealing
3841
this is unacceptable.
3942

40-
#### Design
43+
## Design
4144
We currently use InvisionApp. Again, contact me if you'd like access to it.
4245

43-
#### Making sure main.js is small
46+
## Making sure main.js is small
4447
Follow: https://www.npmjs.com/package/webpack-bundle-size-analyzer
4548
```
4649
env NODE_ENV=development webpack --json > bundle-stats.json
4750
subl bundle-stats.json #so that you can the output
4851
analyze-bundle-size bundle-stats.json
4952
```
5053

51-
###### [View project issues on waffle.io...](https://badge.waffle.io/quran/quran.com-frontend)
54+
## [View project issues on waffle.io...](https://badge.waffle.io/quran/quran.com-frontend)

0 commit comments

Comments
 (0)