CSPC Library Learning Resources and Development Services: E-Accession Record Module
Here are the steps to set up the development environment for this project:
-
Download and install XAMPP and NodeJS, if you haven't already.
-
Start Apache and MySQL through XAMPP if not already running.
-
Clone or download this repository to your XAMPP htdocs folder. The final path should be
path_to/xampp/htdocs/e-accession-record-module
. -
Copy
app/config/database.example.php
toapp/config/database.php
, then modify the database connection settings in the new file. -
Inside phpMyAdmin, create a MySQL database named
e-accession-record-module
and import e-accession-record-module.sql into it. -
Open the terminal and navigate to the project directory e-accession-record-module.
-
Execute the following commands to install the required dependencies:
npm install
-
Install Composer dependencies:
composer install
If this command does not work, try running
composer update
instead. -
Compile and run the development server with hot reloading:
npm run dev
-
Open your web browser and access http://localhost:5005/e-accession-record-module/ to view the application.
Here's how to compile the project for production deployment:
-
Generate the public folder by running the following command:
npm run build
-
Access the application by visiting
http://[host_name]/e-accession-record-module
, wherehost_name
is the IP address or host name of the server in the network. For example:
The default username and password is jonie
.
Copyright (c) 2024-present ronhedwigzape