-
|
I installed java and clojure on AWS Amazon linux. Then I cloned the git. I type npm install, then npm start. When I head to http://serveraddress:8080 I just get a blank page with a correct favicon and title but no content. I opened ports 8080, 5000, 9630. The commands I used are: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" (I type the key and secret here) sudo dnf update curl -L -O https://github.com/clojure/brew-install/releases/latest/download/linux-install.sh && git clone https://github.com/samcf/ogres.git |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
On your own machine, you should be able to run the following to setup both the app client and the WebSocket server: npm install;
npm start;In another terminal... clojure -X:server/devThe app should be available at Hope that helps! Good luck! |
Beta Was this translation helpful? Give feedback.
npm startis strictly intended to setup a development environment on your own local machine. I haven't done much work to streamline the setup of a new production server; theres a fair bit of implicit knowledge necessary to do so. You might find this guide helpful https://github.com/samcf/ogres/blob/main/etc/setup-guide.shOn your own machine, you should be able to run the following to setup both the app client and the WebSocket server:
In another terminal...
The app should be available at
https://localhost:8080Hope that helps! Good luck!