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
- Host: GitHub
- URL: https://github.com/helias/agentsim-portal
- Owner: Helias
- Created: 2017-05-08T13:38:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-07T21:26:12.000Z (almost 8 years ago)
- Last Synced: 2025-01-03T14:18:00.923Z (4 months ago)
- Topics: angular-ui, angular-ui-router, angularjs, bootstrap, expressjs, mongodb, nodejs, nodejs-api
- Language: JavaScript
- Size: 4.91 MB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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!