Last active
March 27, 2018 08:29
-
-
Save ronokdev/c351dcc274ac87c67ef6a40dc5c6adc4 to your computer and use it in GitHub Desktop.
Deploy Vue Project In Centos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RefURL → https://medium.com/@Web_Bailey/deploy-a-vuejs-app-with-digitalocean-fd6e7af07e40 | |
# Deploy your project via GIT or something on the server | |
# Go to the project Directory | |
# Run → npm install | |
# Run → npm run build | |
→ This command will Create a 'dist' folder. | |
# Go to path → /etc/httpd/conf | |
→ Add :: | |
LISTEN 8855 | |
<VirtualHost *:8855> | |
ServerAdmin root@localhost | |
DocumentRoot /var/www/html/VueProject/dist | |
ServerName localhost | |
#ErrorLog logs/dummy-host.example.com-error_log | |
#CustomLog logs/dummy-host.example.com-access_log common | |
<Directory "/var/www/html/vue_test_server/dist"> | |
Options All | |
AllowOverride All | |
Order allow,deny | |
Allow from All | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment