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

Confused with getting started instructions #893

Closed
deevincentday opened this issue Aug 7, 2018 · 1 comment
Closed

Confused with getting started instructions #893

deevincentday opened this issue Aug 7, 2018 · 1 comment
Labels
documentation The issue is related to the documentation of Docusaurus help wanted Asking for outside help and/or contributions to this particular issue or PR.

Comments

@deevincentday
Copy link

Getting Started Instructions need a bit more clarity.

I was following the instructions , I installed node and then Yarn
Then I was told to navigate to a github directory, I have not yet created a github repo. It would be useful to include the creation of the repo in the instructions as not all writers are familiar with github.

So part way through the installation I now have to break off the create my repo and a companion folder on my local hard disc. It would have been smoother if I had been told to create the git repo and local folder before I started installing node and yarn. It would have prepared the way and I would not have to stop to go and do this.

This is exactly what I hate about open source, you have to install a mountain of stuff that you don't even understand before you can do anything and it is always complex. I know windows installers probably do this in one wrapper but it would be so much easier if you could run an installer that installs everything you need.

@JoelMarcey
Copy link
Contributor

Hi @deevincentday - sorry you are finding issues in the documentation for getting started. We are definitely willing to review and accept a pull request to clarify the documentation.

With respect to your issue:

  • Once you install Node (yarn is optional), then you should be able to run the npx docusaurus-init script to get everything going. We have tried to make the installation of Docusaurus a one-liner in most cases. I suppose we could create a script that installs node for you if it is missing, maybe we can consider that.

  • With respect to a repo -- you do not necessarily have to create a GitHub repo right away. You could run npx docusaurus-init anywhere locally. And have a local site to run. But if you plan to publish your site, GitHub is our recommended place to publish.

So with your workflow, you could do the following steps:

  1. Install node
  2. mkdir test
  3. cd test
  4. npx docusaurus-init
  5. Verify and test your install https://docusaurus.io/docs/en/installation#verifying-installation
  6. Then create a GitHub repo and push code out, if you want.

@JoelMarcey JoelMarcey added help wanted Asking for outside help and/or contributions to this particular issue or PR. documentation The issue is related to the documentation of Docusaurus labels Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation The issue is related to the documentation of Docusaurus help wanted Asking for outside help and/or contributions to this particular issue or PR.
Projects
None yet
Development

No branches or pull requests

3 participants