Skip to content

Tool for finding text, images and links at external sites (using reactjs + redux + webpack for frontend, yii2 for backend API).

Notifications You must be signed in to change notification settings

ifedko/smt-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smt finder

Tool for finding text, images and links at external sites (using reactjs + redux + webpack for frontend, yii2 for backend API).

Installation

You can now start working inside this folder directly on your host computer using your favourite IDE. Changes done there will be reflected directly on the vagrant box as the directory is mounted in the vagrant box under /vagrant. Also you can login into the box using vagrant ssh and have the full control over processes etc.

As the provisioning using the ansible provisioner is very fast you can repeat the whole procedure at any time. In order to start fresh just run vagrant destroy and vagrant up. This will undo all you manual changes done on the vagrant box and provide you with a clean setup.

Troubleshooting

  • If you get an error while provisioning:

Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql>/.s.PGSQL.5432" see how to fix http://stackoverflow.com/a/31316156

Installed components

Troubleshooting

If you got error message:

"unable to connect to database: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?"

Running following shell code before vagrant up fixed the problem:

export LANGUAGE=en_US export LC_CTYPE="en_US.UTF-8" export LC_NUMERIC="en_US.UTF-8" export LC_TIME="en_US.UTF-8" export LC_COLLATE="en_US.UTF-8" export LC_MONETARY="en_US.UTF-8" export LC_MESSAGES="en_US.UTF-8" export LC_PAPER="en_US.UTF-8" export LC_NAME="en_US.UTF-8" export LC_ADDRESS="en_US.UTF-8" export LC_TELEPHONE="en_US.UTF-8" export LC_MEASUREMENT="en_US.UTF-8" export LC_IDENTIFICATION="en_US.UTF-8"


TODO

  • Backend (REST API)
    • add input parameters validation
    • limit available REST methods
    • tests
  • Frontend
    • tests

About

Tool for finding text, images and links at external sites (using reactjs + redux + webpack for frontend, yii2 for backend API).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published