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

Deploy this in macOS #22

Open
esteblock opened this issue Apr 7, 2020 · 1 comment
Open

Deploy this in macOS #22

esteblock opened this issue Apr 7, 2020 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@esteblock
Copy link
Contributor

Hello! Thank you very much for this tool.
I have been trying to deploy this webapp in my macOS, and I have got a lot of issues. Hopefully, with a help of a friend, some coffe and a good amount of hours I ended up with these instructions:

  • You'll need to have "tac" command. Is included in linux, but not nativelly, at least in my version of macOS
brew update
brew install coreutils
brew upgrade coreutils

Be sure that the "tac" command works well. Type "tac README.md" and you should read all the lines in inverse order.
If you have installed coreutils but the "tac" command is not working, the command it is probably associated with "gtac", so try "gtac README.md". If this works, do:
ln -s /usr/local/bin/gtac /usr/local/bin/tac

  • Install Node.js (https://nodejs.org)
  • Install yarn brew install yarn
  • Install serve sudo yarn global add serve
  • Clone: git clone --recursive https://github.com/stevenliuyi/covid19.git
  • Install: yarn —recursive
  • Build: yarn build
  • Serve: serve -s build
@stevenliuyi
Copy link
Owner

Thank you for sharing!

@stevenliuyi stevenliuyi added the documentation Improvements or additions to documentation label Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants