Make sure you have Node, npm and MongoDB installed. Depending on which Webserver you use or how you have it configured you might need to configure it as a Reverse Proxy.
- Download newest Version from the ** Releases Tab ** and Upload it to your Server
- Enter the Directory you've saved the Project in and install all the Dependencies using
npm install
. - Open the config.json file and enter a Username, Password and secretKey. (The Secret Key will be used to generate your Login Token.)
- Start the server using
npm run
or another Process manager like PM2
That's it. TASL is installed. Check your Server IP using Port 3000. You should be redirect to http://YOUR-IP:3000/admin/login where you can login with the Username and Password you created in Step 3.
Use this only if you want change something about TASL and you have experience with Node & Angular. You should install Angular CLI!
-
Download the Repository and enter the Direcotry you've saved the Project in.
- The folder Frontend will contain everything Angular and the folder Backend will contain the Node Backend
- Replace
readonly ROOT_URL = "http://localhost:3000/TASL"
withreadonly ROOT_URL = document.location.origin + "/TASL"
in /src/app/info-card/info-card.component.ts - Replace
readonly ROOT_URL = "http://localhost:3000/TASL"
withreadonly ROOT_URL = document.location.origin + "/TASL"
in /src/app/login/login.component.ts - Replace
readonly ROOT_URL = "http://localhost:3000/TASL"
withreadonly ROOT_URL = document.location.origin + "/TASL"
in /src/app/newshort/newshort.component.ts - Replace
readonly ROOT_URL = "http://localhost:3000/TASL"
withreadonly ROOT_URL = document.location.origin + "/TASL"
in /src/app/infourllist/infourllist.component.ts - Replace
readonly ROOT_URL = "http://localhost:3000/TASL"
withreadonly ROOT_URL = document.location.origin + "/TASL"
in /src/app/account-list/account-list.component.ts - Replace
readonly ROOT_URL = "http://localhost:3000/TASL"
withreadonly ROOT_URL = document.location.origin + "/TASL"
in /src/app/register/register.component.ts - Enter the folder Frontend and type into a Termianl Window
npm run production
- After this process has finished open the directory Backend. A new folder containing the compiled front end should now have appeard
- Open the config.json file and enter a Username, Password and secretKey. (The Secret Key will be used to generate your Login Token.)
- Upload the folder Backend to your server and enter the direcotry.
- Start the server using
npm run
or another Process manager like PM2
That's it. TASL is installed. Check your Server IP using Port 3000. You should be redirect to http://YOUR-IP:3000/admin/login where you can login with the Username and Password you created in Step 3.
- Comming soon(tm)
Comming Soon(tm)
Help! It's not starting. I get a MongooseServerSelectonError: connect ECONNREFUSED 127.0.0.1:27017
Error.
Check if you have MogoDB installed. Download it here