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

Admin: Using a local Docusaurus package for testing #110

Merged
merged 3 commits into from Oct 5, 2017
Merged

Admin: Using a local Docusaurus package for testing #110

merged 3 commits into from Oct 5, 2017

Conversation

JoelMarcey
Copy link
Contributor

This is good if you want to test your latest code changes without publishing to the real npm server.

Two ways:

  1. install package from the Docusaurus repo itself (note the clowntown I had to run into - we can talk about this @hramos)
  2. Use verdaccio (or other local npm server)

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Oct 4, 2017
@JoelMarcey JoelMarcey changed the title Admin: Running npm locally Admin: Using a local Docusaurus package for testing Oct 4, 2017
@hramos
Copy link
Contributor

hramos commented Oct 4, 2017

Looks good. We can merge.

@hramos
Copy link
Contributor

hramos commented Oct 4, 2017

Just went through the steps and there's some minor adjustments that might make it easier to follow. It's hard to keep track of when a command has us using the path to Docusaurus itself, versus the path to the Docusaurus-using site.

/path/to/root/of/repo/where/you/want/to/run/docusaurus

to

/path/to/your_project

and

/path/to/root/of/local/docusaurus/repo/

to

/path/to/docusaurus/

I'm not convinced that my alternatives are the clearest, there's still going to be some people where it's not clear the last one points to your local Docusaurus clone.

This is good if you want to test your latest code changes without publishing to the real npm server.

Two ways:

1. install package from the Docusaurus repo itself (note the clowntown I had to run into - we can talk about this @hramos)
2. Use verdaccio (or other local npm server)
@JoelMarcey JoelMarcey merged commit a73438f into facebook:master Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants