Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting proposals on code #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ Implementer Interface
1. Install nvm
2. Install node
3. Install dependencies, `yarn`
4. Ensure that Bahmni is running in the vagrant box and is accessible on ip 192.168.33.10.
4. Ensure that Bahmni is running in the vagrant box and is accessible on ip `192.168.33.10`.
5. Build implementer-interface - `yarn run build`
6. Start the webserver using `yarn start`. You can configure the same in [intellij](http://picpaste.com/Screen_Shot_2016-10-30_at_7.04.02_PM-riCem4le.png) as well
7. Update the `/etc/httpd/conf/httpd.conf` file in vagrant box. Add these under the `AddOutputFilterByType DEFLATE text/javascript`
`
Header set Access-Control-Allow-Origin "http://localhost:8080"`
`Header set Access-Control-Allow-Methods "*"`
`Header set Access-Control-Allow-Credentials "true"`
```
Header set Access-Control-Allow-Origin "http://localhost:8080"
Header set Access-Control-Allow-Methods "*"
Header set Access-Control-Allow-Credentials "true"
```
8. Restart the httpd service
`
```
service httpd restart
`
9. Access server at http://localhost:8080
```
9. Access server at ``http://localhost:8080``