Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ninjawork007/musicjobsite
https://github.com/ninjawork007/musicjobsite
Last synced: about 2 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/ninjawork007/musicjobsite
- Owner: ninjawork007
- License: mit
- Created: 2021-03-23T08:55:52.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-27T08:59:37.000Z (over 3 years ago)
- Last Synced: 2024-11-24T01:32:41.493Z (2 months ago)
- Language: PHP
- Size: 46.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### GETTING STARTED ####
Checkout the source code from git into your working directory:
- git clone https://@bitbucket.org/vocalizr/app.git .
- git checkout devVagrant
Install Vagrant - https://www.vagrantup.com/
You'll need Virtual Box installedThe Vagrant file is attached (I've only used on my MAC so might need updates for Windows / Linux)
The code should sit in the same directory as the Vagrantfile
Update the vagrantfile with the correct file paths if necessary run
- vagrant upThen to ssh into the vagrant machine use
- vagrant sshInstall GIT
- sudo apt-get install gitCode is at
- cd /dataCopy /data/app/config/parameters.template.yml to /data/app/config/parameters.yml
- cp /data/app/config/parameters.template.yml /data/app/config/parameters.ymlEnable opcache for PHP
- sudo /etc/php5/apache2/php.iniopcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=128
opcache.save_comments=1
opcache.load_comments=1then restart apache:
- sudo service apache2 restartInstall database and load fixtures
- php app/console doctrine:schema:create
- php app/console doctrine:fixtures:loadUpdate your hosts file:
192.168.33.10 local.vocalizr.comLoad website!
http://local.vocalizr.comIf website is running slow, you can install virtualbox nfs
Windows:
- vagrant plugin install vagrant-winnfsd## OTHER COMMANDS
Database is MySQL
- mysql -h local -u root vocalizr
To turn off the machine use
- vagrant haltSYMFONY
We are using symfony 2.2 :(
https://symfony.com/doc/2.2/index.htmlRun symfony commands on the vagrant machine from the project root directory
Clear cache
- php app/console cache:clearRegenerate seed data
- php app/console doctrine:fixtures:loadTo see a list of all symfony commands
- php app/console## Docker/Makefile commands :
After cloning the project, run :
- make buildThis will install the bundles and create the database.
To run the server :
- make startThen you have to run
- make ipsAnd copy the php_vocalizr ip address and add the port 8000 to it, example : if the ip is 123.12.14.1 the url of your website will be 123.12.14.1:8000
More details in the makefile comments