Activities website for CPE KMUTT FRESHY 2021
This website use next.js to provide the system, if you want to see our website you can follow the instruction below.
You need yarn package management to run our website if you don't have it, just use the npm i -g yarn command for installing yarn.
- Create
.env.localfile to config our website e.g. database, session secret. You can see the.env.examplefor the configuration example. - Enter the
yarncommand on your console or terminal to install all of the required modules that this website needs. - Happy by type
yarn devto view our website onlocalhost:3000✨
We also have docker-compose for you...
so you can easily make MongoDB server, just type the command below on your console or terminal.
docker-compose --env-file=./.env.local up -d dbThis command only build the MongoDB service
If you want to run web service (NextJS production build) and database service in one container, just type
docker-compose --env-file=./.env.local up -dThis command builds the web/database service with the production build
Simply run the commands below in sequence to view or develop our website.
docker-compose --env-file=./.env.local up -d db
yarn install
yarn devWe are grateful to the community for contributing bug fixes and improvements on our website
Fullstack Developer
Graphic Artist
DevOps
The part of some website features

