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

chore: Add instructions to publish it to GitHub Pages #1161

Merged
merged 1 commit into from
May 24, 2018

Conversation

mayank8318
Copy link
Contributor

Checklist

  • I have read the Contribution & Best practices Guide.
  • My branch is up-to-date with the Upstream development branch.
  • The acceptance, integration, unit tests and linter pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Short description of what this resolves:

Adds instructions to publish the project to github pages.

Fixes #1150

@mayank8318
Copy link
Contributor Author

Deployment link -> https://mayank8318.github.io/open-event-frontend/
There is this bug of the images not rendering due to the way in which images are taken. More info here -> rounders/ember-world-flags#3 and poetic/ember-cli-github-pages#11

@codecov
Copy link

codecov bot commented May 23, 2018

Codecov Report

Merging #1161 into development will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           development    #1161   +/-   ##
============================================
  Coverage        31.43%   31.43%           
============================================
  Files              305      305           
  Lines             2373     2373           
============================================
  Hits               746      746           
  Misses            1627     1627

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c54f731...0205a09. Read the comment docs.

Copy link
Contributor

@dr0pdb dr0pdb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's follow the instructions of the project readme from https://github.com/poetic/ember-cli-github-pages. It should be the most updated one.

`git checkout -b publish_gh_pages`

* Install <strong>ember-cli-github-pages</strong> addon. <br>
`ember install:addon ember-cli-github-pages`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure we can install addon like this. I mean it gave me an error couple of days ago when I tried. I would suggest replacing it with ember install ember-cli-github-pages

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. install:addon is from ember 1.x era

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mayank8318
Copy link
Contributor Author

@srv-twry @niranjan94 Updated :)

ember install ember-cli-github-pages
```

* Open <strong>environment.js</strong> file from the project directory and change the value of `rootURL` from `/` to `open-event-frontend`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

environment.js file is in the config directory. It would be great to mention it.

* `cp .env.example .env`

### Note:
If you face error in `npm install` for node and npm version, then install node version: v7.10.1 (npm version: 5.3.0 gets installed with it), which satisfies check-node-version and project runs perfectly on this configuration.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be removed. As we no longer recommend npm. This project comes bundled only with a yarn-compatible lockfile.

Copy link
Contributor

@dr0pdb dr0pdb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@niranjan94 niranjan94 merged commit 520a020 into fossasia:development May 24, 2018
@mayank8318 mayank8318 deleted the doc_gh_pages branch May 24, 2018 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add instructions to publish it to Github Pages
3 participants