The code for MyTicketer
https://t200.nextstoplabs.org
- Vue 92.4%
- JavaScript 7.2%
- HTML 0.4%
Update README to replace the pm2 start example with a simple PORT=3000 npm run start command and add a Railway Deployment section showing install/build/start steps. Adjust package.json and vue.config.js to support the revised start/build flow, and update package-lock.json to include the new 'serve' dependency and related dependency/version changes. |
||
|---|---|---|
| .github/workflows | ||
| public | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| babel.config.js | ||
| jsconfig.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| todo.txt | ||
| vue.config.js | ||
MBT_ETM-T200
The code for MBT ETM T200 code base This is the tickter style ETM
How to Run
Step 1: Clone the Repository
First, clone the repository to your local machine:
git clone https://github.com/Kai-codin/MBT-ETM-T200.git
Step 2: Navigate to the Project Directory
Change to the project directory:
cd MBT-ETM-T200
Step 3: Running Locally
To run the application locally, use the following command:
npm run serve
Step 4: Running in Production
To build and run the application in a production environment, follow these steps:
-
Build the project:
npm run build -
Start the production server:
PORT=3000 npm run start
Railway Deployment
Railway can use the built-in scripts in package.json:
npm install
npm run build
npm run start
The start script serves the compiled dist directory on Railway's PORT environment variable.