Website for amFOSS(FOSS@Amrita) powered by Next.js.
Make sure that you have Node JS
and NPM
installed. Else you can refer to installation page on our wiki
Navigate into site's directory and start it up.
cd website/
npm install
npm run dev
Your site is now running at https://localhost:8000
- Create a Surge account.
- Clone the amFOSS Website and get into it's root directory.
- Run
surge
- Enter your email and password when it prompts for and verify your email.
- Generate a token.
- Open your GitLab account and go into Settings --> CI/CD --> Variables.
- Add your environment variables
SURGE_TOKEN
andSURGE_LOGIN
in it.