mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2025-12-17 07:12:12 +11:00
docs
This commit is contained in:
parent
3e29f04254
commit
2c02a4fce1
1 changed files with 12 additions and 4 deletions
16
README.md
16
README.md
|
|
@ -11,10 +11,11 @@ thatbeing said goodluck.
|
|||
from heere is will assume you have set up the api server
|
||||
|
||||
if deploying to a serverless application make sure you se t the environmental variables forst. these are as follwos
|
||||
* BANKAPIURL=<your api url including http/s and the trailing slash NOT BANKF>
|
||||
* SECURE=<true if you have ssl on your front end host>
|
||||
* PORT=<put the port in here>
|
||||
* SETUP=<true when you have set the above this just gets rid of the setup page that will show if it equals false or the .env file is not fojound>
|
||||
* BANKAPIURL=your api url including http/s and the trailing slash NOT BANKF
|
||||
* SECURE=true if you have ssl on your front end host
|
||||
* PORT=put the port in here
|
||||
* MONGO=put your mongodb url here
|
||||
* SETUP=true when you have set the above this just gets rid of the setup page that will show if it equals false or the .env file is not fojound
|
||||
|
||||
if you are deploying on a vps then
|
||||
1. git clone repository
|
||||
|
|
@ -22,3 +23,10 @@ if you are deploying on a vps then
|
|||
1. run with your favourite node webserver if you dont know any use [pm2](https://pm2.keymetrics.io/)
|
||||
1. go through set up at localhost:<port number you set earlier>
|
||||
1. restart the application and badda bim badda boom you done
|
||||
|
||||
## Marketplace
|
||||
|
||||
now this is getting complex :sunglasses:
|
||||
the market place is new and requires monogodb until Jolly finishes his rust api marketplace and i can integrate that
|
||||
set up is pretty straight forward for now, it should just work:tm: as long as you import all the minecraft blocks into the database as per the item schema,
|
||||
to do this there is a bit of code at the bottom of ./routes/marketplace.js uncomment that and run that url then comment it again cause you dont want to run it twice, it will messy up your shit. i will make it a one time run route in the future.
|
||||
|
|
|
|||
Loading…
Reference in a new issue