![]() ![]() When the script above asks to install Image::Magick, it may fail depending on mo files (using commonlib/bin/gettext-makemo). The included modules to be built, including expat (libexpat1-dev), postgresql,Īs well as installing dependencies, this script compiles our CSS (usingīin/make_css), installs the database schema (using bin/update-schema),Īnd compiles any translation. It is possible you may need to install some source packages to allow some of It takes some time, soįeel free to continue with further steps whilst it’s running. This should tell you what it is doing as it goes. Install required dependencies, and other setupįixMyStreet uses a number of Perl modules from CPAN to install them,Īnd perform other set up functions, run: $ script/setup You will need to investigate how to allow access to your PostgreSQL database. You should be able to connect to the database with psql -U fms fms – if not, PostgreSQL was installed): $ sudo - u postgres psql postgres =# CREATE USER fms WITH PASSWORD 'somepassword' CREATE ROLE postgres =# CREATE DATABASE fms WITH OWNER fms CREATE DATABASE postgres =# \ c fms postgres =# CREATE LANGUAGE plpgsql postgres =# \ q $ Using the defaults, create a user andĭatabase using the following (do not worry if the CREATE LANGUAGE step givesĪn error that it already exists, it might well do depending on how your The default settings assume the database is called fms and the user the same. If you’re expecting a lot of traffic it’s recommended that you install memcached: 3. You need Perl 5 (we currently test on 5.26 upwards, though it will probably work back to 5.14), ImageMagick with the perl bindings, and gettext. $ export LIBRARY_PATH = $HOMEBREW_PREFIX/lib c. Hopefully the following variables should deal with all of them: $ export OPENSSL_PREFIX = export CPATH = $HOMEBREW_PREFIX/include Some Perl modules may fail to install without certain packages and paths in place. HomeBrew $ brew install perl pkg-config gettext jhead libpng imagemagick postgresql P5-locale-gettext, p5-perlmagick, and postgresql13-server. You will need to install gettext, jhead, libpng, openssl (perhaps version 1.1), Which it’s much simpler to install via a packaging system. Use the command below to install a few packages that FixMyStreet needs, for Install either MacPorts or HomeBrew (you might well have one already), and then (Please let us know if you would like to contribute such a package list or To install all of them youĬan run e.g.: $ sudo bin/install_packagesĪ similar list of packages should work for other Debian-based distributions. If you’re using Debian or Ubuntu, then the packages to install requiredĭependencies are listed in conf/packages.generic. Get the codeįetch the latest version from GitHub: $ mkdir FixMyStreet Yourself, proceed with the instructions below. If you prefer to set up each required component of FixMyStreet You can use this if you're used to setting up web applications -īut the other installation options may be easier: ![]() Wget -q -r Ctrl+O, Ctrl+X to save and quit.This page describes how to install the FixMyStreet platform manually. To set up the cron job: sudo nano /etc/cron.daily/resourcespace Set up the cron job for relevance matching and periodic emails Use the resourcespace_rw user as the "MySQL username" and resourcespace_r user as the "MySQL read-only username". Review installation overview to help fix any warnings/errors on the setup page. localhost) via a web browser to resume the setup. mkdir filestore sudo chmod 777 filestore sudo chmod -R 777 include Finish installation via web browserĪccess the server address (e.g. Checkout ResourceSpace cd /usr/local/var/www mkdir resourcespace cd resourcespace svn co. ![]() Then create the database and database users. Log into MySQL as the root user: mysql -u root -p Run the following from the Terminal brew update brew install imagemagick httpd mysql subversion ghostscript antiword exiftool wget ffmpeg poppler brew install -cask inkscape brew install Install PHP extensions using pecl pecl install Apcu pecl install intl pecl install json pecl install zip Enable PHP in ApacheĪdd the following to nf: LoadModule php_module application/x-httpd-phpĪlso, check DirectoryIndex includes index.php: DirectoryIndex index.php index.html Restart Apache sudo apachectl restart Configure PHPĬonfiguring the php.ini file Create database Follow the instructions on brew.sh to install Homebrew. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |