Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Desastres
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Desastres
  • Desastres
  • Wiki
  • using the simulation

using the simulation · Changes

Page history
joao.severo created page: using the simulation authored Oct 29, 2018 by João Vitor Bernardi Severo's avatar João Vitor Bernardi Severo
Hide whitespace changes
Inline Side-by-side
using-the-simulation.md 0 → 100644
View page @ 3f32d153
# Starting the simulation
Using the pipenv you can just initiate the enviroment and use the `start_simulation.py` file to run the project. To do so you must have:
1. Downloaded or cloned the project
2. Completely set up pipenv on your machine. View [Setting enviroment](http://www.tools.ages.pucrs.br/desastres/Desastres/wikis/setting-enviroment)
## Terminal
Inside the project folder you must type
> pipenv shell
* The command will prompt you inside the shell of pipenv allowing you to use the modules installed in it
<br><br>
The shell name appeared on the left side of the path to the project. Use the following command
> python start_simulation.py
* The commando will run the simulation
<br><br>
Now the simulation is up and running on your machine
***
## PyCharm
1. Opening the project folder you should see the `start_simulation.py` file
2. Open the file
3. Right click any place inside the file
4. Select `Run 'start_simulation` option
Or
3. Use the shortcut `ctrl+shif+f10`
<br><br>
Now the simulation is up and running on your machine
Clone repository
  • API
  • QuickStart
  • agents
  • agents
    • actions
    • agent
  • api
    • firstconnection
    • firstmessage
    • how it works
    • stepsmessages
  • Home
  • notes
  • requirements
  • setting enviroment
  • simulation
  • simulation
    • corearchitecture
View All Pages