Closed TheRamenChef closed 5 years ago
@TheRamenChef, you said you had a problem connecting to SQL? Well, you don’t have to for the website. If you want to use API, just make sure your local repo points to our official API. When you do docker-compose build http
and docker-compose up -d http
, it will deploy the website in locahost:2015
If you want to recreate the database, visit ftp://meme.market and grab one of our database backups
Also, by "no easy access to an SQL database", I meant "I do not have any SQL software that I can run so even with a backup I could not use a database". Now that I think about it, though, I don't think a database would even be needed for testing these changes; I could just use the live site. I have another draft pull request that would require an entirely different database to test properly.
@TheRamenChef here is the link for Mac —> https://docs.docker.com/docker-for-mac/install/
The beauty of docker is that you don’t have to install anything on your machine except docker itself. If you want to access the database when you deploy, docker-compose exec mysql mysql -u mysql ...
(I will send the full one later), it will open up a command line in your database.
Tested.
Good stuff!
This pull request makes a number of stylistic changes to the meme.market website:
title
attribute. An exception is when the exact value is too large for JavaScript to handle.formatToUnits
will use exactly 3 digits of precision unless the value is less than 3 digits or larger than the largest suffix can handle.formatToUnits
will use the proper capitalization for the "thousand" prefix (k
instead ofK
).Screenshots of modified website (somewhat limited in that the mouse isn't shown):