Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clitetailor/graph-algo
https://github.com/clitetailor/graph-algo
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/clitetailor/graph-algo
- Owner: clitetailor
- Created: 2019-04-03T14:37:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T11:06:58.000Z (about 2 years ago)
- Last Synced: 2024-05-28T23:09:16.460Z (7 months ago)
- Language: HTML
- Size: 2.11 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Graph Algorithms
## Prerequisite
- NodeJS
- Yarn
- PostgreSQL## Installation
### Database
Install and config Postgres to run on port 5432. If you run the database inside Vagrant virtual machine, you may need to edit `postgresql.conf` and `pg_hba.conf` located in `/etc/postgres`.
Node adapter configuration is located at `database.js` in current project folder. Create a Postgres account with the same username and password as configuration in `database.js`
Run Sequelize migration before starting the server to keep track of changes to the database:
```bash
$ yarn sequelize db:migrate
```### Node
Before you run the application, run the following command to install the dependencies:
```bash
$ yarn
```## Start the Server
To start the web auto-build process:
```bash
$ yarn web:autobuild
```To start the web development server:
```bash
$ yarn server:dev
```