Skip to content
/ cipe Public

Application that displays information of the Paraguayan researchers living abroad and working in academia

Notifications You must be signed in to change notification settings

joausaga/cipe

Repository files navigation

CIPE

CIPE is a website that visualizes information of Paraguayan researchers living abroad and working in academia. The website shows the name, field of expertise, position (i.e., PhD student, postdoc, professor), and location of Paraguayans who are residing and doing academic research in universities, research centers, and companies abroad.

A live version of CIPE can be accessed here.

Screenshots

Screenshot

Screenshot

Installation

Install docker and docker-compose in your local machine. Check the official installation guidelines;

Production

For the impatient: The only key you need to get a really quick start, is a valid Google Map API KEY, all the others default credentials will be used. However your are encouraged to complete the setup process if your planning to use this proyect in the long run.

  1. Obtain a google maps api key by following the instructions here;
  2. Clone the repository git clone https://github.com/joausaga/cipe.git;
  3. Get into the directory cipe;
  4. Run scripts/prepare-config-templates.sh
  5. Set the configuration parameters of the database in .env.prod.db;
  6. Set the SECRET_KEY and GOOGLE_MAPS_API_KEY obtained before as well as the configuration parameters of the database in .env.prod;
  7. Build docker container docker-compose -f docker-compose.prod.yml up --build -d , Once containers are fully created, you can watch the logs with docker-compose -f docker-compose.prod.yml logs -f , to see for the containers to be fully initialized;
  8. Load initial data docker-compose -f docker-compose.prod.yml exec app python manage.py loaddata data/initial_data.json;
  9. Go to http://localhost:1550 to access the tool

Development

  1. Clone the repository git clone https://github.com/joausaga/cipe.git;
  2. Get into the directory cipe;
  3. Change to development branch git checkout develop;
  4. Pull last changes in the development branch git pull origin develp;
  5. Rename the file cipe/settings.py.sample as cipe/settings.py;
  6. Rename the file .env.dev.sample as .env.dev;
  7. Generate a random secret key to be used as part of the configuration of the tool. One way of generating the key is by running the following command python -c 'import random; print("".join([random.choice("abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)") for i in range(50)]))';
  8. Set the SECRET_KEY and configuration parameters of the database in env.dev;
  9. Build docker container docker-compose -f docker-compose.yml up --build -d;
  10. Go to http://localhost:8000 to access the tool

Cleanup/reinitialize

  1. scripts/cleanup-containers.sh will help you to restore to its ground zero in case you need to reinitialize the whole process. You are warned that this is a DESTRUCTIVE operation, you WILL lose data generated by normal cipe usage.

Initial data

The website was initially preloaded with data of BECAL fellows obtained through this request for accessing public information about the BECAL fellowship program.

Technologies

  1. Python 3.6
  2. MySQL Community Server
  3. Django 2.2
  4. Google Maps

Issues

Please use Github's issue tracker to report issues and suggestions.

About

Application that displays information of the Paraguayan researchers living abroad and working in academia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •