1.2.0 • Published 5 years ago
travela_cli v1.2.0
Description
This is a CLI tool that automates the setup of Travela's project
Installation
The recommended way to install this package is to do a global install
Install as global package
$ sudo npm install -g travela_cli
Usage
The following flags are available for running different commands
$ -f or --frontend to setup the frontend
$ -b or --backend to setup the backend
$ -h or --help to access the help menu
Example
$ travela <flag> <pathtoenvfile>
Setup Frontend
The example below assumes that the env file is in the same folder where you are running the command, otherwise specify the full path to your env file
$ travela -f ./.env
Setup Backend
To setup the backend, make sure you have created your database and updated your env file with the database credentials
$ travela -b ./.env
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
License
This project is licensed under MIT