An open API service indexing awesome lists of open source software.

https://github.com/helias/agentsim-portal

A web portal for AgentSimJS
https://github.com/helias/agentsim-portal

angular-ui angular-ui-router angularjs bootstrap expressjs mongodb nodejs nodejs-api

Last synced: 2 months ago
JSON representation

A web portal for AgentSimJS

Awesome Lists containing this project

README

        

# AgentSim-Portal
A web portal for [AgentSimJS](https://github.com/maxdeben83/agentsimjs)

### Requirements

- NodeJS & npm
- MongoDB
- AgentSimJS

### Install Requirements on Ubuntu 16.04

Install **NodeJS** and **npm**
```
$ curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh
$ ./nodesource_setup.sh
$ sudo apt install nodejs
```
Install **MongoDB**
```
$ sudo apt install mongodb-server
```

Download AgentSimJS, go in the directory project and run:
```
$ git submodule init
$ git submodule update
```

### Configure

Copy the file *config.js.dist* into **config.js** and configure it like:
```
module.exports = {
'secret': 'your_secret_string',
'database': "mongodb://localhost:27017/db_name",
'email': '[email protected]',
'password': 'password',
'home_path': 'http://localhost:8080'
};
```

Run your application:
```
$ node server.js
```

Now you can visit http://localhost:8080/ and see the output of the project!