A contact form with attachment for Linchpins.
To use Gmail SMTP, you have make your Gmail account less secure. To do that, click here Without configuration this, you can not send mail. Read in details
Go to the root folder of project. Run the following command to build docker image.
$ docker build -t <any_name_for_docker_image> . (don't forget the dot (.) in the end.
After that run the following command to start docker image and publish application in port 80.
$ docker run -d -p 80:8000 <docker_image_name>
For development, you will only need Node.js and a node global package, Yarn, installed in your environment.
Just go on official Node.js website and download the installer.
Also, be sure to have git
available in your PATH, npm
might need it (You can find git here).
You can install nodejs and npm easily with apt install, just run the following commands.
$ yum install -y gcc-c++ make $ curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash -
$ sudo yum install nodejs
You can find more information about the installation on the official Node.js website and the official NPM website.
If the installation was successful, you should be able to run the following command.
$ node --version
v10.16.3
$ npm --version
6.9.0
If you need to update npm
, you can make it using npm
! Cool right? After running the following command, just open again the command line and be happy.
$ npm install npm -g
After installing node, this project will need yarn too, so just run the following command.
$ npm install -g yarn
$ cd PROJECT_FOLDER
$ yarn install
$ yarn start
Login to back-end dashboard by this following url, http://your-domain/users/login