Appointer app official repository.
Appointer uses git for version control. You can find out how to install git by visiting this link.
Appointer is using Express on top of NodeJS, so we need to install Node to run it. Appointer is using Node v0.10.38. For Windows, use the installer below:
- http://nodejs.org/dist/v0.10.38/node-v0.10.38-x86.msi (32-bit)
- http://nodejs.org/dist/v0.10.38/x64/node-v0.10.38-x86.msi (64-bit)
For other systems, click here for how to install.
To check if Node is installed properly in your machine, type in your cmd/terminal/powershell:
node -v
npm -v
Appointer uses MySQL for the database, hence we must install it. On Windows, you can do this by installing XAMPP and activating the MySQL.
Redis is used for the sessions. Unfortunately, Redis does not officially support Windows. For development, you can disable Redis and use the default MemoryStore by opening server/configs/session.js
and comment out the following lines:
// var RedisStore = require('connect-redis')(session);
and
// store: new RedisStore({ host: 'localhost', port: 6379, db: 1 }),
We use Gulp for our build automation. Install Gulp globally via npm using
npm install -g gulp
To clone this project using git, open your cmd/terminal and go to where you want to put the project, for example C:\Projects
or /home/you/projects
. Inside that directory, run
git clone https://github.com/bobbypriambodo/appointer.git
This command should create a directory named appointer
. After it's done, go into the directory using
cd appointer
Inside the project directory (in this case appointer
), run
npm install
This can take a few minutes.
To run this project, run
npm start
The app is now listening in http://localhost:3000.
P.S. You need to change the baseurl first in server/configs/baseurl.js
from
res.locals.baseurl = '/appointer/';
into
res.locals.baseurl = '/';
Coming soon!