-
Clone Repo
git clone https://github.com/UnownHash/Flygon-Admin.git
-
Change Directory to the Repo
cd Flygon-Admin
-
Create the config file
cp config.toml.example config.toml
-
Fill out the config file
nano config.toml
-
Install dependencies
yarn install
-
Compile the client and server
yarn build
-
Run
yarn start
-
Pull repo
git pull
-
Repeat steps 5-7 from the standard setup
-
Install PM2
npm install pm2 -g
-
Follow steps 1-6 from the standard setup
-
From the
root
directory, add to PM2:pm2 start "yarn start" --name "Flygon-Admin"
-
Save PM2 processes
pm2 save
-
Follow steps 5-6 from the standard setup
-
Restart PM2 process
pm2 restart Flygon-Admin
-
Clone Repo
git clone https://github.com/UnownHash/Flygon-Admin.git
-
Change Directory to the Repo
cd Flygon-Admin
-
Copy docker-compose file
cp docker-compose.yml docker-compose.override.yml
-
Fill out the docker-compose.override.yml file, not the docker-compose.yml file
nano docker-compose.override.yml
-
Run docker-compose
docker-compose up -d
docker-compose pull
docker-compose down
docker-compose up -d
- Same as above
- gow (Recommended)
Run the client in dev mode with hot reloading
yarn install
yarn dev