FlashWebIT / ROTI

Romanian Open Transit Initiative - repository of official, reverse engineered and converted transit resources which give you programmatic access to static (scheduled) or real-time data (positions, updates etc.)
https://flashwebit.github.io/ROTI/
Do What The F*ck You Want To Public License
9 stars 1 forks source link

[Wiki: transitime installation guide] Order of installation steps #1

Open engalissongomes opened 2 years ago

engalissongomes commented 2 years ago

Bom dia, qual é ordem correta para instalação?

Good morning, what is the correct order for installation?

BodoMinea commented 2 years ago

Hi.

Could you write your issues in English?

What are you trying to install? Are you following the Wiki instructions for TheTransitClock/transitime or Digitransit? Please shed some light on what you're trying to accomplish and I'll see if I can help.

engalissongomes commented 2 years ago

Hi, I am trying to install transitime, I would like to know the installation sequence, I am following the sequence of the side menu but it seems that the steps do not match. Thanks

BodoMinea commented 2 years ago

The steps in the sidebar are in the correct order - prerequisite installation, compilation, creating the database, populating it with data and running everything. What is not working or what error are you getting and at what steps?

engalissongomes commented 2 years ago

good night, when trying to install showed the link error: http://137.184.203.176:8080/web/

openjdk version "1.8.0_312" OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~20.04-b07) OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)

BodoMinea commented 2 years ago

Please give some details regarding at what step you're encountering the error.

Maybe attaching a screenshot would make it more clear.

engalissongomes commented 2 years ago

image image image image image image image image image image

BodoMinea commented 2 years ago

There's no obvious issue in the terminal screenshots you attached.

As a friendly suggestion, switch from using the default Digitalocean console to accessing your server via SSH using a local client like Putty, that would make it easier to copy, paste and scroll through commands.

I see that you generated the schema and after that tried importing data and creating an API key. But nowhere in between these do I see the MySQL commands required for actually importing the database schema to the desired database on your server.

Have you done that? You can use the mysql command to look inside the databse and check that stuff has actually (sudo mysql -u root; USE database; SHOW TABLES;) been done. Maybe also look in the logs (in the /tmp folder according to the copy-pasted commands) or actually try running the software (core) to see if it errors out or not.