mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-21 20:48:00 +01:00
Updated the README.
This commit is contained in:
parent
f11d321764
commit
0c949f0d41
2 changed files with 1 additions and 12 deletions
10
README.md
10
README.md
|
@ -63,21 +63,13 @@ And then install all of the required local packages by invoking:
|
||||||
|
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
Finally, build all of the scripts by executing:
|
Finally, to compile and serve the assets in real time, run the following (and leave it running while you develop):
|
||||||
|
|
||||||
gulp build
|
|
||||||
|
|
||||||
During development, you should make a point to run "gulp watch". You can do this simply by executing:
|
|
||||||
|
|
||||||
gulp watch
|
gulp watch
|
||||||
|
|
||||||
This will watch and compile the `.less` and `.coffee` files in real time.
|
|
||||||
|
|
||||||
Configuring the servers
|
Configuring the servers
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
Pony.fm uses nginx, php-fpm, redis, and MySQL. You can modify the configuration of these services by locating the appropriate config file in the `vagrant` folder. Once modified, you must reload the configuration by running the appropriate shell script (`reload-config.sh`) or bat files (`reload-config.bat` and `reload-config.vmware.bat`). These scripts simply tell Vagrant to run `copy-and-restart-config.sh` on the VM.
|
Pony.fm uses nginx, php-fpm, redis, and MySQL. You can modify the configuration of these services by locating the appropriate config file in the `vagrant` folder. Once modified, you must reload the configuration by running the appropriate shell script (`reload-config.sh`) or bat files (`reload-config.bat` and `reload-config.vmware.bat`). These scripts simply tell Vagrant to run `copy-and-restart-config.sh` on the VM.
|
||||||
|
|
||||||
If you need to change any other configuration file on the VM - copy the entire file over into the vagrant folder, make your changes, and update the `copy-and-restart-config.sh` script to copy the modified config back into the proper folder. All potential configuration requirements should be represented in the `vagrant` folder **and never only on the VM itself** as changes will not be preserved.
|
If you need to change any other configuration file on the VM - copy the entire file over into the vagrant folder, make your changes, and update the `copy-and-restart-config.sh` script to copy the modified config back into the proper folder. All potential configuration requirements should be represented in the `vagrant` folder **and never only on the VM itself** as changes will not be preserved.
|
||||||
|
|
||||||
**NOTE:** currently, Redis's configuration is not reloaded by the `copy-and-restart-config.sh`
|
|
||||||
|
|
|
@ -13,7 +13,4 @@ config.plugins.push(
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
//config.output.publicPath = 'https://pony.fm/build/';
|
|
||||||
|
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
|
Loading…
Reference in a new issue