-
Notifications
You must be signed in to change notification settings - Fork 3
[Documentation] How to run as a web app #297
Description
** What aspect of the project could be better explained**
We should document a better phrased version of this.
1 clone the code base
2. cd into the main folder - where you should see a file called 'Justfile'
then you have two options:
option A - if you have the just tool installed.
$ just run
and it will build (first time around) and then spin up the web-app on 127.0.0.1:8000
option b (if you don;t like the idea of installing just)
$ python -m pip install just.sh
(installs a tool named (badly IMHO) just.sh )
$ just.sh
(which compiles the justfile into a local shell script called just.sh in the same directory)
$mv just.sh runwebapp.sh
( rename the recently created shell script to what it does and avoid conflicts with the tools the same name you installed)
$ ./runwebapp.sh run
then open 127.0.0.1:8000 in a browser