Thank you for purchasing Eclassify. We appreciate your support. In this documentation, you will find instructions on how to set up the admin panel and mobile application for Eclassify. This document also provides features of Eclassify. If you have any questions, feel free to reach out. Thank you for choosing Eclassify!
1. Unzip the code you will see the Admin Panel inside the zip.
2. Upload this folder content on your server in subdomain folder.
3. After uploading visit your domain url. You will see the installation wizard.Follow the instructions.
flutter pub get
cd ios
pod install
cd ..
flutter pub run change_app_package_name:main your_new_package_name
flutter run
Your Admin panel must be on sub-domain like (example:- admin.yourdomain.com)
Your Web must be on main-domain like (example:- yourdomain.com)
The Web domain must be SSL for security reasons
A VPS (Virtual Private Server) is required for web hosting. Please ensure you have a VPS set up before proceeding.
eClassify Website Installation Process
Recommended tutorial is below 👇
Open .env file and change the following details
.env file
public/css/style.css
file
Geocoding API,
Places API,
Geolocation APIs,
Maps JavaScript API
from
'Enable API and Services'.
Make sure you have you have enabled billing account otherwise
location search will not work in web.
npm run dev
INFO
Upload your web code to your server, open the terminal, navigate to your web code directory, and run the ./install.sh command.
Deployment of the Next JS needs a bit of
knowledge about
node js
npm
pm2
technologies.
We have
assumed
that you are using a
debian
based OS, apt is your
package manager.
If you are
using any
other
linux distro then apt will be replaced with
the respective
package
manager of
the OS
We do not recommend deploying on shared hosting as it may not support all Node.js features. If you do not have a VPS server, you can proceed with this method, but we cannot provide support for any issues that arise.
NodeJS can be installed using NVM by which multi Node version can be controlled easily.
sudo apt install curl
curl
https://raw.githubusercontent.com/creationix/nvm/master/install.sh
| bash>
nvm install node 20.*
Check if node js is installed correctly using this
command
node -v
For more information, use official documentation
By running the following command, PM2 server can be installed globally
npm install pm2 -g
Before set port check available ports with this command
sudo lsof -i -P -n | grep 8003
package.json
and
.htaccess
file
node_modules
installed in your
directory.
npm install
The above command will install all the node modules in your directory.
After that, project must be built. For that, run the following command, which will build the production application in the .next folder.
npm run build
Go to the project root and run the following command
pm2 start "npm start" -n
"YOUR_PROJECT_NAME"
Check if pm2 process is Running OK
pm2 ls
If you are getting errors in the pm2 process , then run pm2 logs and send us the Screenshot of the error, so that we can guide you to resolve your issues.
If you want to restart your pm2 process then run pm2 restart id // Replace id with your process id
For example here id is 0 in the above screenshot -->
pm2 restart 0
For deleting the previous project running in the PM2 server, use the following command
pm2 delete "YOUR_PROJECT_NAME"
INFO
For more information, use official documentation